Gilles Espinasse wrote:
...
>> [chroot-i486] root:/$ umask
>> 0022
>> [chroot-i486] root:/$ rm -rf /usr/src/coreutils*
>> [chroot-i486] root:/$ cd /usr/src
>> [chroot-i486] root:/usr/src$ tar xf cache/coreutils-8.1.tar.gz
>> [chroot-i486] root:/usr/src$ ls -ld /usr /usr/src /usr/src/coreutils-8.1
...
>> drwxrwxrwx 13 root root 4096 Nov 18 18:55 /usr/src/coreutils-8.1
>>
>> don't know why
>
> Just the side effect of using tar as root
> --no-same-permissions let umask be applied

Thanks for explaining.
That's another good reason to do less as root.


Reply via email to