Michael Stone wrote:
> Bob Proulx wrote:
> >I cannot reproduce this behavior.  This chown action should produce an
> >error message.  By default on BSD-like systems such as Debian
> >GNU/Linux chown is only allowed by root.  You should be seeing this
> >error message:
> >
> > chown: changing ownership of `testp': Operation not permitted
> 
> No, because the chown is a noop; he's only changing the group.

Ah!  Yes.  I missed that.  Sorry.  I was fixated on the "own" part of
the chown call.

> The larger point that this is an OS policy is correct; chown/chgrp
> in coreutils aren't calling chmod themselves in this case. This is a
> requirement of POSIX chown(2), and thus fairly unlikely to change.

Agreed.  The effect is the same.

Bob



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to