Solved

Extracting using tar command in unix

Posted on 2012-03-16
4
612 Views
Last Modified: 2016-02-10
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
Comment
Question by:meade470
4 Comments
 
LVL 11

Expert Comment

by:legolasthehansy
ID: 37730560
Can you try it as root? Also see if you can pass -m option while doing the extract
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 250 total points
ID: 37731427
the user executing tar does not have proper permissions in the directory
0
 
LVL 11

Expert Comment

by:Khandakar Ashfaqur Rahman
ID: 37731496
Either bad download or doesn't have sufficient permission.Try with superuser
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 250 total points
ID: 37736734
If you are not allowed to become root try the "-m" flag of "tar"
0

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.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question