[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: a subtle(?) tar extraction permission problem



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]