diff options
author | Andreas Gruenbacher <andreas.gruenbacher@gmail.com> | 2015-04-13 01:41:50 +0200 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-04-13 09:39:37 +0100 |
commit | 88e491044bf802e433a94a01401c342c287d9c24 (patch) | |
tree | 31ceb6e85b5e3fa317794974bc551c7b537ec660 /doc | |
parent | 1b1c40e1d6f8cf30b6c7c9d31bbddbc3d5cc72e6 (diff) | |
download | coreutils-88e491044bf802e433a94a01401c342c287d9c24.tar.xz |
doc: clarify how cp behaves with default ACLs
* doc/coreutils.texi (cp invocation): Mention that when copying files
without preserving permissions, the umask or a default ACL affect
the mode of new files.
* THANKS.in: Remove committer.
Related to http://bugs.gnu.org/8527
Diffstat (limited to 'doc')
-rw-r--r-- | doc/coreutils.texi | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 4b37aefdc..fa1592c97 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -8052,9 +8052,11 @@ Using @option{--preserve} with no @var{attribute_list} is equivalent to @option{--preserve=mode,ownership,timestamps}. In the absence of this option, the permissions of existing destination -files are unchanged, while each new file is created with the -mode bits of the corresponding source file, minus the bits set in the -umask and minus the set-user-ID and set-group-ID bits. +files are unchanged. Each new file is created with the mode of the +corresponding source file minus the set-user-ID, set-group-ID, and +sticky bits as the create mode; the operating system then applies either +the umask or a default ACL, possibly resulting in a more restrictive +file mode. @xref{File permissions}. @item --no-preserve=@var{attribute_list} |