a subtle(?) tar extraction permission problem

Mike Klinke lsomike at futzin.com
Sun Jun 27 17:22:18 UTC 2004


On Sunday 27 June 2004 11:43, Robert P. J. Day wrote:
 
>
> again, i can't just assume that all of the directories in the
> tarball already exist on the system.  dang.  i was really after the
> hypothetical tar option "do *not* screw with the attributes of
> existing objects."  i don't think i'm going to find it.
>
> rday

Will this offer any help?

`--no-same-permissions'
     When extracting an archive, subtract the user's umask from files
     from the permissions specified in the archive.  This is the
     default behavior for ordinary users; this option has an effect
     only for the superuser.

Regards,  Mike Klinke





More information about the fedora-list mailing list