[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in chgrp (GNU fileutils) 4.0p

From: Matt Perry
Subject: Re: Bug in chgrp (GNU fileutils) 4.0p
Date: Fri, 1 Dec 2000 19:17:39 -0800 (PST)

On Fri, 1 Dec 2000, Bob Proulx wrote:

> Thank you for your report.  Unfortunately the standards do not agree
> with you and require that behavior.  Check out the online standards
> documentation at:
> http://www.opengroup.org/onlinepubs/007908799/xcu/chgrp.html
>     Unless chgrp is invoked by a process with appropriate privileges,
>     the set-user-ID and set-group-ID bits of a regular file will be
>     cleared upon successful completion; the set-user-ID and
>     set-group-ID bits of other file types may be cleared.
> Also, I tested HP-UX and AIX which behaved identically.

I just realized that I should have given more information.  I was running
this command as root.  Given the above information about appropriate
privileges, I would think root would have all privileges and would not be
subject to this condition.  Is clearing of this bit something that chgrp
does or something that my kernel would handle?  I'm using Linux kernel
2.3.99-pre8 on a Red Hat system.

Thanks for the help.

Matt Perry

reply via email to

[Prev in Thread] Current Thread [Next in Thread]