opensubscriber
   Find in this group all groups
 
Unknown more information…

b : bug-coreutils@gnu.org 1 April 2011 • 5:23PM -0400

bug#8391: chmod setuid & setguid bits
by Christian

REPLY TO AUTHOR
 
REPLY TO GROUP




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





Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

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