[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: file ownerships created by tar
From:       Luciano Miguel Ferreira Rocha <strange () nsk ! no-ip ! org>
Date:       2006-12-28 1:13:02
Message-ID: 20061228011302.GA18092 () nsk ! no-ip ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Thu, Dec 28, 2006 at 12:34:09AM +0000, Chris Steel wrote:
> If I untar an archive (specifically
> applewmproto-X11R7.0-1.0.3.tar.bz2 from www.x.org)
> using busybox, then the files seem to keep their
> original owner and group (500 and 501 respectively).
> 
> When I untar the same archive on my Fedora system, all
> the files created are owned by the user who did the
> untar.
> 
> I'm assuming (?) that the second option is correct,
> and the first is wrong?

No. The second option happens when the user extracting the package
doesn't have permissions to set ownership of files to other users.

I assume you're untarring in busybox as root and as a non-root user in
Fedora. Try untarring as root in Fedora and you should see the same
behaviour as busybox.


-- 
lfr
0/0

[Attachment #5 (application/pgp-signature)]

_______________________________________________
busybox mailing list
busybox@busybox.net
http://busybox.net/cgi-bin/mailman/listinfo/busybox

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic