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

Add --chown flag support for ADD/COPY commands for Windows #35521

Merged
merged 1 commit into from
Aug 17, 2018

Commits on Aug 14, 2018

  1. Add ADD/COPY --chown flag support to Windows

    This implements chown support on Windows. Built-in accounts as well
    as accounts included in the SAM database of the container are supported.
    
    NOTE: IDPair is now named Identity and IDMappings is now named
    IdentityMapping.
    
    The following are valid examples:
    ADD --chown=Guest . <some directory>
    COPY --chown=Administrator . <some directory>
    COPY --chown=Guests . <some directory>
    COPY --chown=ContainerUser . <some directory>
    
    On Windows an owner is only granted the permission to read the security
    descriptor and read/write the discretionary access control list. This
    fix also grants read/write and execute permissions to the owner.
    
    Signed-off-by: Salahuddin Khan <salah@docker.com>
    salah-khan committed Aug 14, 2018
    1 Configuration menu
    Copy the full SHA
    763d839 View commit details
    Browse the repository at this point in the history