LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-09-2007, 11:06 PM   #1
nodar
LQ Newbie
 
Registered: Dec 2007
Posts: 19

Rep: Reputation: 0
error in tar -jvxf


Hi Guys,

I tried to execute this command:

user@localhost~]$ tar -jxvf sblim-sfcc-2.0.2.tar.bz2, and got this message

tar: sblim-sfcc-2.0.2.tar.bz2: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors

Same error when unpacking this file:
subversion-1.4.5.tar.bz2
openwsman-1.5.1.tar.bz2

What do you mean by this? What causes this message? How can I unpacked this? Please help me.

thanks,

nodar
 
Old 12-09-2007, 11:45 PM   #2
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
you need to change the permissions on it, to be accessible by your user
 
Old 12-10-2007, 12:38 AM   #3
LinuxCrayon
Member
 
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274

Rep: Reputation: 31
Or cheat and use

Code:
sudo tar -jxvf sblim-sfcc-2.0.2.tar.bz2
if you're in the list of sudoers, or

Code:
su -c "tar -jxvf sblim-sfcc-2.0.2.tar.bz2"
if you're not but you know the root password. As a side note, if you're not a sudoer but you know root password, make yourself a sudoer and do away with root password. ^_^

[EDIT]
By "do away with," I mean stop using 'su' or root (except where needed, such as using YaST or Pirut etc...).
[/EDIT]

Last edited by LinuxCrayon; 12-10-2007 at 12:39 AM. Reason: Clarification
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BackUp & Restore with TAR (.tar / .tar.gz / .tar.bz2 / tar.Z) asgarcymed Linux - General 5 12-31-2006 02:53 AM
Tar gives error when creating a tar file archive davidas Linux - Newbie 10 04-13-2004 12:35 AM
Error while installing package.tar.tar isone Linux - Software 2 11-03-2003 11:58 AM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM


All times are GMT -5. The time now is 10:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration