Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-22-2003, 03:13 PM   #1
LQ Newbie
Registered: Jul 2003
Distribution: Mandrake 9.1
Posts: 25

Rep: Reputation: 15
Problems unzipping a *.tar.gz file --permission denied?

I needed a program to allow me to create PDF Files. SO I downloaded bfograph and saved the download to my desktop in tar.gz format.

Using the terminal I did:

[mike@*****************]$ /home/mike/Desktop/bfograph-1.1.4.tar.gz
bash: /home/mike/Desktop/bfograph-1.1.4.tar.gz: Permission denied
So I then did CTRL+F1

telinit 1

And got the same problem! What am I doing worng?
Old 07-22-2003, 03:16 PM   #2
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
You are trying to execute it?

cd /home/mike/Desktop
gunzip <tarfilename>
then cd into bfograph and follow the instructions.

Old 07-22-2003, 04:43 PM   #3
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
To uncompress .tar.gz (or .tgz).
tar -zxvf file.tar.gz
To uncompress and redirect to another directory
tar -zxvf file.tar.gz -C /directory/some/where
Old 07-22-2003, 05:07 PM   #4
Registered: Feb 2003
Location: San Antonio
Distribution: Suse 9.0 Professional
Posts: 843

Rep: Reputation: 30
Oops...good followup Mathieu...didn't see the tar.gz, just the .gz.
I used to gunzip first then
tar tvf to make sure that the person creating the tar actually
tarred up the dir. Nothing like getting 200 files dumped to your home directory because it wasn't the directory that was tarred, but just the individual files.
Hasn't happened in a couple of years though.



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
file permission denied, install postfix aw_wolfe Linux - Newbie 7 07-13-2011 07:27 AM
Problems unzipping tar.bz2 fictos Linux - Newbie 2 08-21-2005 01:10 PM
cannot open shared object file: Permission denied cchristian Linux - Software 5 07-30-2005 10:52 AM
problem unzipping a tar.bz2 file tar: Error is not recov jyome Linux - Software 4 09-04-2003 01:04 PM
problem in unzipping the tar file jyome Linux - Software 1 09-04-2003 08:56 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:58 AM.

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