LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-21-2006, 01:49 PM   #1
e3l
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Rep: Reputation: 0
how do i access files off cd that are read-only


i copyied a file called n6bE1a.tar.gz from a cd into /blender. when i do: tar xzf /blender/n6bE1a.tar.gz it says
"
tar: blender: Cannot open: Read-only file system
tar: Error exit delayed from previous errors
"

how do i access it and unzip it?

n6bE1a is a zipped folder containing a program called Blender.
i am using Debian. -e3l

Last edited by e3l; 02-21-2006 at 02:32 PM.
 
Old 02-21-2006, 02:18 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Don't know what you mean by "mounting" a file...

You need to copy the file to the directory where you plan to install---eg /usr/share, /opt, whatever.
Set the permissions to 755 (turns on execution privleges)

Then: tar -xvf filename
Then whatever the program is set up for---eg run an install script.
 
Old 02-21-2006, 02:26 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Copying is not really required ... all you need to do is to
go to a directory that you have write access to, and invoke
the tar from there with the full path to the file, e.g.

cd ~
tar xf /mnt/cdrom/blender/n6bE1a.tar.gz


Cheers,
Tink
 
Old 02-21-2006, 02:40 PM   #4
e3l
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
still not working. i still get:
tar: blender: Cannot open: Read-only file system
tar: Error exit delayed from previous errors
when i mount -t auto /dev/cdrom /mnt/cdrom
it says
mount: block device /dev/cdrom is write-protected, mounting read-only
 
Old 02-21-2006, 02:54 PM   #5
Dragineez
Member
 
Registered: Oct 2005
Location: Annapolis
Distribution: Ubuntu
Posts: 275

Rep: Reputation: 32
CDs are Read Only

Any optical media will be read only. Tinkster is right, you don't need to copy the files first. Just untar to a directory where you have write permission.
 
Old 02-21-2006, 03:04 PM   #6
e3l
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
how do i untar to a directory where i have write permission. and what directory do i have write permission? sorry for my noobness. i just got linux yesterday. maybe i should just start with the basics.
 
Old 02-21-2006, 03:34 PM   #7
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That's why I suggested to CD to your home directory.
Or are you running a live CD or something?! :*)


CHeers,
Tink
 
Old 02-21-2006, 08:25 PM   #8
DeusExLinux
Member
 
Registered: May 2004
Location: Tampa, Fl
Distribution: Arch
Posts: 648

Rep: Reputation: 30
If you want to specifiy where to untar something it wouldbe

tar -xvf filename.tar /path/to/file

Generally your /home/username/ file is one where you have write access, or.. anywhere if you are root.

You can't really extract files to the /mnt/cd/ directory, as that filesystem will always be mounted read only (A cd is not a hard-disk)..

Hope that clears up some of your questions.
 
Old 02-27-2006, 11:41 PM   #9
e3l
LQ Newbie
 
Registered: Feb 2006
Posts: 4

Original Poster
Rep: Reputation: 0
i think that worked . thanks
 
  


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
Read-only access to files that should be RWX DigitalScience LinuxQuestions.org Member Intro 2 01-18-2006 02:16 PM
Read-only access to files that should be RWX DigitalScience Linux - Security 1 01-18-2006 09:40 AM
Having read/write access to some files in windows NTFS partition rahilrai Linux - Newbie 7 12-17-2005 01:02 PM
access to read only files absalon Linux - Newbie 4 06-22-2005 06:31 AM
read-only access to my own /home files esteeven Linux - General 7 07-16-2004 10:27 PM


All times are GMT -5. The time now is 12:10 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