Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 742
  • 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

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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