[Top][All Lists]
[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
signature.asc
Description: This is a digitally signed message part.
- chmod 0755 behaves like chmod 755, Jason Pepas, 2007/10/02
- Re: chmod 0755 behaves like chmod 755, Andreas Schwab, 2007/10/02
- Re: chmod 0755 behaves like chmod 755, Jason Pepas, 2007/10/03
- Re: chmod 0755 behaves like chmod 755, Paul Eggert, 2007/10/03
- Re: chmod 0755 behaves like chmod 755, Mike Frysinger, 2007/10/03
- Re: chmod 0755 behaves like chmod 755, Paul Eggert, 2007/10/04
- Re: chmod 0755 behaves like chmod 755, Evan Hunt, 2007/10/04
- Re: chmod 0755 behaves like chmod 755, Paul Eggert, 2007/10/04
- Re: chmod 0755 behaves like chmod 755,
Mike Frysinger <=
- Re: chmod 0755 behaves like chmod 755, Paul Eggert, 2007/10/05
Re: chmod 0755 behaves like chmod 755, Bob Proulx, 2007/10/03