Skip to content

Commit

Permalink
remove chmod 755: fixes #5941
Browse files Browse the repository at this point in the history
Docker-DCO-1.1-Signed-off-by: Tibor Vass <[email protected]> (github: tiborvass)
  • Loading branch information
tiborvass authored and Tibor Vass committed Jun 2, 2017
1 parent ef717d2 commit 8ee2a06
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/sources/reference/builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ being built (also called the *context* of the build) or a remote file URL.
`<dest>` is the absolute path to which the source will be copied inside the
destination container.

All new files and directories are created with mode 0755, uid and gid 0.
All new files and directories are created with a uid and gid of 0.

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

> **Note**:
> If you build using STDIN (`docker build - < somefile`), there is no
Expand Down

0 comments on commit 8ee2a06

Please sign in to comment.