Michael G Schwern writes: > Andreas J. Koenig wrote: > > > # umask > > 002 > > # tar xzf > > /home/ftp/pub/PAUSE/authors/id/Y/YV/YVES/ExtUtils-Install-1.51.tar.gz > > # ls -la ExtUtils-Install-1.51 > > total 1104 > > -rwxrwxrwx 1 544 513 1765 Mar 3 2008 Build.PL* > > Your tar is not honoring umask. ... What tar is that, btw? I've > tried out both BSD and GNU tar.
The Debian manpage for GNU tar documents this option: --no-same-permissions apply umask to extracted files (the default for non-root users) So umask would be ignored for Andreas above because he un-tar-ed as root (and I'm guessing you tried it as you, thereby not triggering the behaviour). Requiring root privs for the last step of installation is common, so I guess it's fairly common for some people to do all the steps as root (however inadvisable that is). Smylers