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

Tar not restoring ownership



System: RH 6.2

I have a CD that I cut containing a tar file that was made on a different
system (Solaris 2.5.1 using gnutar).

I now want to restore the tar file on my system, keeping the ownership
and group of the original files.  No matter what I try, the files all
belong to root.  The -p and --same-owner did not work.  I created entries
in the passwd/shadow/group files and that didn't help.

I couldn't get tar to show me the UID and GID of the files.  At minimum,
I would have expected tar to drop the files down with the UID and GID
values.  But no, it made everything belong to root.

Unfortunately I can't go find out what the UID/GID values are at this time.

So, what does it take to get tar to do what I want?

Thanks.

MB
-- 
e-mail: vidiot vidiot com
    Bart: Hey, why is it destroying other toys?  Lisa: They must have
    programmed it to eliminate the competition.  Bart: You mean like
    Microsoft?  Lisa: Exactly.  [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/  (Your link to Star Trek and UPN)





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