Solved

Extracting using tar command in unix

Posted on 2012-03-16
4
657 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remaiā€¦
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

622 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