Problem with tar

Mathias Koerber koerber.sin at sni.de
Thu Jun 20 11:04:10 AEST 1991


In article <1560 at cash.cs.utexas.edu> luong at cs.utexas.edu (Hue Nhu Luong) writes:
|
|I try to un-tar the file xloadimage.3.01.tar by entering:
|
|	tar -xvf xloadimage.3.01.tar
|
|But what I get is a bunch of boloneies like this:
|
|	tar: can't set time on Imakefile: Not owner
|	tar: can't set time on Makefile: Not owner
|	tar: can't set time on Makefile.std: Not owner
|	tar: README: HELP - extract write error: Permission denied
|	x Imakefile, 1847 bytes, 4 tape blocks
|	x Makefile, 6758 bytes, 14 tape blocks
|	x Makefile.std, 6758 bytes, 14 tape blocks
|	x README, 15694 bytes, 31 tape blocks
|
|Can somebody help me with this?

a) be sure you have write access in the directory you are untaring in.

and more important:

b) use tar -xvof xloadimage.3.01.tar
			  ^

   the o keyletter makes you owner of all files you grabbed off the archive.
   Otherwise tar tries to reinstate the original owner/group (using the
   number,not the name), and that may not be you. After it grabbed it, changed
   the owner to the original, it tries to re-set the time, and can't since
   it's not your file anymore.

PS: "o" is not documented on my system, but works.

Hope this helps.

Mathias



More information about the Comp.unix.questions mailing list