[rhelv6-list] found a chmod bug in rhel 6.0

Hugh Brown hbrown at divms.uiowa.edu
Thu Mar 24 20:17:33 UTC 2011


On 03/24/2011 03:14 PM, Philip Durbin wrote:
> On 03/24/2011 01:32 PM, Paul Krizak wrote:
>> But this is a behavior change from RHEL5:
>
>  From http://git.savannah.gnu.org/cgit/coreutils.git/tree/ChangeLog-2006
>
> "2006-07-28 Paul Eggert <eggert at cs.ucla.edu>
>
> * NEWS: chmod now preserves setuid and setgid bits on directories
> if you use a numeric mode with them clear, e.g., "chmod 755 DIR"."
>
> Phil
>


I'd expect chmod 755 to do that.  I wouldn't expect chmod 0755 to do it 
though.

Hugh




More information about the rhelv6-list mailing list