Stephan Litterst <[EMAIL PROTECTED]> wrote:

> I found a new bug/feature of tar:
> tar changes the owner and group of the actual directory to root.root when 
> using tar as root.
> Programms which need to write to this directory could not work.

This is typical behavior of typical tar implementations...

If you like to avoid it, call:

star -xp f=archive.tar umask=022 dir-owner=root dir-group=bin  -find ! -type d 

.... use the apropriate values for umask, dir-owner and dir-group to
define the permission and owner of intermediate directories.

ftp://ftp.berlios.de/pub/star/alpha/

Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]     (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to