GNU bug report logs - #8391
chmod setuid & setguid bits

Previous Next

Package: coreutils;

Reported by: Christian <chris <at> computersalat.de>

Date: Thu, 31 Mar 2011 16:48:04 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Christian <chris <at> computersalat.de>
To: bug-coreutils <at> gnu.org
Subject: bug#8391: chmod setuid & setguid bits
Date: Thu, 31 Mar 2011 21:58:50 +0200
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
---------------------------------------------------





This bug report was last modified 13 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.