Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check the validity of the chmod option arguments for COPY and ADD #5148

Merged
merged 1 commit into from
Jul 25, 2024

Commits on Jul 24, 2024

  1. Check the validity of the chmod option arguments for COPY and ADD

    The current implementation silently ignores the chmod option argument
    for COPY and ADD if it is invalid, so this PR change to check the
    validity of the argument.
    
    I also found that if the value is 0o3777777777777(-1), it is ignored, and
    otherwise all but the lower 12 bits are meaningless.
    
    Signed-off-by: Mitsuru Kariya <[email protected]>
    kariya-mitsuru committed Jul 24, 2024
    Configuration menu
    Copy the full SHA
    6fddb5d View commit details
    Browse the repository at this point in the history