Solved

Extracting using tar command in unix

Posted on 2012-03-16
4
629 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

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

Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

752 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