bug-coreutils
[Top][All Lists]
Advanced

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

bug#8391: chmod setuid & setguid bits


From: Christian
Subject: bug#8391: chmod setuid & setguid bits
Date: Thu, 31 Mar 2011 21:58:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8

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
---------------------------------------------------






reply via email to

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