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: Fri, 01 Apr 2011 11:23:36 +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

have to revoke my last comment "00755 is working here. I can live with that :) " This was on the wrong system (SLES 10 SP3), where also a 755 does not preserve the sbit.
sorry for that

Cheers, Chris

Am 31.03.2011 22:58, schrieb Christian:
Hi
No, 0755 is not explicit - it is ambiguous with people that are
explicitly using printf %#3o to output a 3-digit octal string with
leading 0 - I don't think we can change this.

But my suggestion of 00755 _is_ explicit - after taking off the leading
00755 is working here. I can live with that :)
0 for specifying octal, you are _still_ left with four octal digits
which includes the sticky bit explicitly being set to 0.
Thank you
 Cheers


--

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]