bug-coreutils
[Top][All Lists]
Advanced

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

Re: chmod 0755 behaves like chmod 755


From: Mike Frysinger
Subject: Re: chmod 0755 behaves like chmod 755
Date: Fri, 5 Oct 2007 01:17:45 -0400
User-agent: KMail/1.9.7

On Thursday 04 October 2007, Paul Eggert wrote:
> However, the naive implementation of "chmod 755" had undesirable
> effects in SunOS 4.x (late 1980s), an operating system that used the
> setgid bit to switch between V7 and 4.2BSD semantics.  That is because
> "chmod 755" cleared the setgid bit on directories, which messes up
> permissions of files that are later created in that directory, and
> makes files harder to share.  So in SunOS 4.x Sun changed "chmod 755
> dir" to leave the setgid bit alone.

ok, but this discussion is about 0755, not 755 ... can i extrapolate based on 
the "sharing" idea that SunOS treats 0755 and 755 the same for directories ?
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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