From: Sergey Poznyakoff Date: Tue, 11 Jan 2005 16:27:57 +0000 (+0000) Subject: Updated docs for --[no-]same-permissions X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=3e5686c1ecbb7e70ad56787d907c8afa2747adb5;p=chaz%2Ftar Updated docs for --[no-]same-permissions --- diff --git a/doc/tar.texi b/doc/tar.texi index 7567e5f..eb3f0f6 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -2967,13 +2967,13 @@ With this option, @command{tar} will not recurse into directories. When extracting an archive, do not attempt to preserve the owner specified in the @command{tar} archive. This the default behavior -for ordinary users; this option has an effect only for the superuser. +for ordinary users. @item --no-same-permissions When extracting an archive, subtract the user's umask from files from the permissions specified in the archive. This is the default behavior -for ordinary users; this option has an effect only for the superuser. +for ordinary users. @item --no-wildcards Do not use wildcards when excluding files. @@ -7487,9 +7487,11 @@ gives you a great deal of control already. Extract all protection information. This option causes @command{tar} to set the modes (access permissions) of -extracted files exactly as recorded in the archive. If this option +extracted files exactly as recorded in the archive. If this option is not used, the current @code{umask} setting limits the permissions -on extracted files. +on extracted files. This option is by default enabled when +@command{tar} is executed by a superuser. + This option is meaningless with @value{op-list}.