[100127] in RedHat Linux List

home help back first fref pref prev next nref lref last post

unpacked tarball owners

daemon@ATHENA.MIT.EDU (Greg Fall)
Wed Nov 18 15:59:38 1998

Date: Wed, 18 Nov 1998 15:58:16 -0500 (EST)
From: Greg Fall <gmf@dweezil.dyn.ml.org>
To: redhat-list@redhat.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

tar clearly has some feature/s I don't understand.

I often dl tarballs as a regular user, then have an xterm with 'su -'
running in it, which I use to copy the tarballs from user areas to
/usr/local/targz ("cp" instead of "mv" because ownership goes to root
like I want it to that way).  Typically, root then goes to
/usr/local/src and unpacks things; e.g. "tar xzvf ../targz/foo.tar.gz"

The owner of the files and directories that are unpacked is hardly ever
root, however.  Nor is it necessarily the user who owns the desktop
the 'su -' xterm runs in.  Does tar use ids attached to the tarball to
assign it an owner?  I see that tar has a --same-owner option, but I
don't use it.

--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--=--
    ___
   /.  \    Gregory Fall                Phone: 734-913-4662
   \/  /    University of Michigan      Fax:   734-763-7130
     \ \    2455 Hayward Street         email: gmfall@engin.umich.edu
   __/_/    Ann Arbor, MI 48109                gmf@dweezil.dyn.ml.org


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post