Skip to content

Docker ADD does not retain file permissions - bug? #5035

Answered by dvdksn
thernstig asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, this is expected for ADD with remote files. From the documentation:

In the case where <src> is a remote file URL, the destination will have permissions of 600.

https://docs.docker.com/reference/dockerfile/#add

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@thernstig
Comment options

@tonistiigi
Comment options

Answer selected by tonistiigi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants