[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] bug in tar
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] bug in tar |
Date: |
Wed, 22 Mar 2006 17:32:10 +0100 |
User-agent: |
nail 11.2 8/15/04 |
Stephan Litterst <address@hidden> 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:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (uni)
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily