opensubscriber
   Find in this group all groups
 
Unknown more information…

b : bug-coreutils@gnu.org 1 April 2011 • 3:58AM -0400

bug#8391: chmod setuid & setguid bits
by Christian

REPLY TO AUTHOR
 
REPLY TO GROUP




Hi Paul,

Am 31.03.2011 20:54, schrieb Paul Eggert:
> On 03/31/2011 11:25 AM, Christian wrote:
>> and using "0755" is explicit enough, isn't it ?
> Unfortunately it's not that simple, as having 0755 mean
> something different from 755 would violate the principle
> of least surprise.  Please see the thread starting at
> <http://lists.gnu.org/archive/html/bug-coreutils/2006-07/msg00124.html>.
I read it and I came to the conclusion
755 should preserve s-bit: OK
2755 sould set sbit. OK
0755 should remove sbit, cause it is explicit wanted.
and not doing so is a "lemming behaviour".
noone considered that perhaps solaris behaves wrong.

Kind Regards

--

Christian
---------------------------------------------------
Der ultimative shop für Sportbekleidung und Zubehör

http://www.sc24.de
---------------------------------------------------





Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.