Linux-Noob Forums
tar bug? - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: General Stuff (https://www.linux-noob.com/forums/forum-4.html)
+--- Forum: General Chat (https://www.linux-noob.com/forums/forum-64.html)
+--- Thread: tar bug? (/thread-837.html)



tar bug? - Vincent L - 2008-09-09


im running rhel 4 this is only happened once

 

 

i create a archive file using tar:

 

tar -cvf <file>

 

then the tar was successfuly create the file but in time when i issue the command ls -l the output od the file was

 

-rwsrwsrwt 1 root root 0 jan 1 1970 whfbhsdvbgfjsdbvkbhbfshvbashbvua???????????????sdfsdg???????

 

 

 

please help about this!

 

 

thnx!




tar bug? - anyweb - 2008-09-09


if you do

Code:
file filename




 

what is the output ?




tar bug? - Vincent L - 2008-09-09


the error message is this

 

[Image: error.JPG]

 

this is happen once




tar bug? - Dungeon-Dave - 2008-09-24


Quote:i create a archive file using tar: 

tar -cvf <file></file>
You don't say *what* you're creating the file with - the contents. The command should read something like:

 

tar cvf homedirs.tar /home

I'm guessing you've created a tarfile containing the current directory, which contains the tarfile itself, which... etc.

 

An alternative thought: can you run tar tf FILENAME to look at the contents of the file?