On 12/20/2017 10:26 PM, Michael Orlitzky wrote:
$ chown --recursive --dereference root foo
which emits an error:
chown: -R --dereference requires either -H or -L
Hmm, this looks inconsistent as well: --dereference is the
default if neither --dereference nor -h|--no-dereference are
speci
On 12/20/2017 04:52 PM, Paul Eggert wrote:
> On 12/20/2017 12:58 PM, Bernhard Voelker wrote:
>> Thus, I think this not a bug in chmod or the documentation, but in the
>> your expectations.
>
> I think his expectations are what POSIX requires. For chown -H -R, POSIX
> says that...
This is where I
On 12/20/2017 10:52 PM, Paul Eggert wrote:
For chown -H -R, POSIX
says that if "a symbolic link referencing a file of type directory is
specified on the command line,/chown/ shall change the user ID (and
group ID, if specified) of the directory referenced by the symbolic link
and all files in th
On 12/20/2017 12:58 PM, Bernhard Voelker wrote:
Thus, I think this not a bug in chmod or the documentation, but in the
your expectations.
I think his expectations are what POSIX requires. For chown -H -R, POSIX
says that if "a symbolic link referencing a file of type directory is
specified on
On 12/20/2017 03:58 PM, Bernhard Voelker wrote:
>
> I think there is something else going on you didn't consider:
>
>--dereference affect the referent of each symbolic link (this is
> the default), rather than the symbolic link itself
>
> ...
>
> Thus, I t
tag 29788 notabug
stop
On 12/20/2017 07:24 PM, Michael Orlitzky wrote:
The documentation for the "-H" flag to chown says,
The following options modify how a hierarchy is traversed when the
-R option is also specified. If more than one is specified, only
the final one takes effect
The documentation for the "-H" flag to chown says,
The following options modify how a hierarchy is traversed when the
-R option is also specified. If more than one is specified, only
the final one takes effect.
-H if a command line argument is a symbolic link to a directory,