Skip to content

docs: clarify a caveat with COPY --link and overwriting directory permissions#6778

Open
jsternberg wants to merge 1 commit into
moby:masterfrom
jsternberg:copy-link-clarify-permission-overwriting
Open

docs: clarify a caveat with COPY --link and overwriting directory permissions#6778
jsternberg wants to merge 1 commit into
moby:masterfrom
jsternberg:copy-link-clarify-permission-overwriting

Conversation

@jsternberg
Copy link
Copy Markdown
Collaborator

Closes #3602.

…ermissions

Signed-off-by: Jonathan A. Sternberg <jonathan.sternberg@docker.com>
conditions for cache reuse.

When copying a path into a subdirectory, `--link` will always create the
parent directories with the default directory creation settings and will always
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

always create the
parent directories with the default directory creation settings

I think it creates the parent directories in whatever settings that were set by the copy command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

COPY command changes the directory permissions to change.

2 participants