|
From: | Alan Curry |
Subject: | Re: stable coreutils-8.1 today, fingers crossed |
Date: | Sun, 22 Nov 2009 04:50:22 -0500 (GMT+5) |
Jim Meyering writes: > > 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. So was the drwxrwxrwx in the tarball put there to teach a lesson to those who trust a tarball to have sane permissions? Or is it a bug? -- Alan Curry
[Prev in Thread] | Current Thread | [Next in Thread] |