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