[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8391: chmod setuid & setguid bits
From: |
Eric Blake |
Subject: |
bug#8391: chmod setuid & setguid bits |
Date: |
Thu, 31 Mar 2011 12:59:19 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9 |
On 03/31/2011 12:25 PM, Christian wrote:
> IMHO
> for removing s-gid-bit from
> drwxr-sr-x 2 root root 48 2011-03-31 18:13 tmp/
> "u=rwx,g=rx-s,o=rx" == "0755"
>
> and using "0755" is explicit enough, isn't it ?
No, because not everyone realizes that chmod takes octal automatically,
and they might have intended the leading 0 to mean octal without
actually affecting 07000.
But perhaps "00755" is explicit enough. I think this has been discussed
on the list in the distant past, although I don't have time to dig up
references right now.
--
Eric Blake address@hidden +1-801-349-2682
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- bug#8391: chmod setuid & setguid bits, Christian, 2011/03/31
- bug#8391: chmod setuid & setguid bits, Eric Blake, 2011/03/31
- bug#8391: chmod setuid & setguid bits, Christian, 2011/03/31
- bug#8391: chmod setuid & setguid bits,
Eric Blake <=
- bug#8391: chmod setuid & setguid bits, Paul Eggert, 2011/03/31
- bug#8391: chmod setuid & setguid bits, Eric Blake, 2011/03/31
- bug#8391: chmod setuid & setguid bits, Christian, 2011/03/31
- bug#8391: chmod setuid & setguid bits, Eric Blake, 2011/03/31
- bug#8391: chmod setuid & setguid bits, Christian, 2011/03/31
- bug#8391: chmod setuid & setguid bits, Eric Blake, 2011/03/31