Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 773
  • Last Modified:

Extracting using tar command in unix

I tried to extract downloads.tgz. It got a fair way through the unpack and then died with the following error:

tar: downloads: Cannot utime: Operation not permitted
tar: Error exit delayed from previous errors

I tried a simple tar --list -f downloads.tgz
and it breaks with an error tar: Error exit delayed from previous errors after exactly the same file.

Does anyone know why this could be? Running FreeBSD 7.3-RELEASE-p2 as a normal user, (not root).
0
meade470
Asked:
meade470
2 Solutions
 
legolasthehansyCommented:
Can you try it as root? Also see if you can pass -m option while doing the extract
0
 
ahoffmannCommented:
the user executing tar does not have proper permissions in the directory
0
 
Khandakar Ashfaqur RahmanExpert/ConsultantCommented:
Either bad download or doesn't have sufficient permission.Try with superuser
0
 
woolmilkporcCommented:
If you are not allowed to become root try the "-m" flag of "tar"
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now