LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 05-25-2003, 03:53 PM   #1
Synth218
Member
 
Registered: May 2003
Location: U S of A
Distribution: Slack 12.1
Posts: 83

Rep: Reputation: 15
how to view contents of cd


hi all im running slack 9 on my box and ok i wanna know how to make a desktop link to the contents of any cdrom.... like i wanna create a directory called cdrom on my desktop that displays the contents of a cdrom how would i do that.... when i try to use the right click and choose make cdrom/dvd device it gives me some error bout not having access to it that only root user can mount and unmount and when i created my user i made sure to give it all the privllages so any help would be greatly appraicted....thanx
synth
 
Old 05-25-2003, 03:58 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Quote:
when i created my user i made sure to give it all the privllages
Well that was a stupid thing to do. The idea is you dont use an all powerful account with a graphical interface, or even for any normal account, as one slip and *beeeep* you've flat-lined your system. Plus all processes started by you run with the same powers too... even malicious code which you accidentally run due to, say, a browser flaw/exploit.

Post the contents of your /etc/fstab.

Last edited by Proud; 05-25-2003 at 04:01 PM.
 
Old 05-25-2003, 04:09 PM   #3
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
A little harsh don't ya think Proud?

They could possibly mean by "I gave all permissions" that they just didn't restrict the user...

Assuming you didn't give your user all the abilities root has you can still mount up your cdrom by adding things to /etc/fstab entry(ies) to allow your users to mount specific drives.

Be aware that Slackware doesn't (by default) setup SuperMount/Automount so you will still need to mount the devices before viewing files on them, umount them when ready to eject them.

Cool
 
Old 05-25-2003, 04:14 PM   #4
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
He's still fresh and impressionable now, plus the wounds will heal
 
Old 05-25-2003, 04:16 PM   #5
Synth218
Member
 
Registered: May 2003
Location: U S of A
Distribution: Slack 12.1
Posts: 83

Original Poster
Rep: Reputation: 15
yeah i sorta figured it out on my own but here's the contents of my /etc/fstab like u wanted :
/***********************************************************************************
/dev/hda1 / ext2 defaults 1 1
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
***********************************************************************************/
any problems... any input appraiacted
synth
 
Old 05-25-2003, 04:53 PM   #6
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Change:
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
To:
/dev/cdrom /mnt/cdrom iso9660 noauto,users,owner,ro 0 0

Cool
 
Old 05-25-2003, 06:14 PM   #7
Synth218
Member
 
Registered: May 2003
Location: U S of A
Distribution: Slack 12.1
Posts: 83

Original Poster
Rep: Reputation: 15
alrighty ive changed that is there anything else wrong or anything else i need to change??? if not thanx for all the help everyone
synth
 
Old 05-25-2003, 06:34 PM   #8
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
That should do it... Assuming you can now type:
mount /mnt/cdrom
As a user and then are able to browse your CD's.

Cool
 
  


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
how to view contents of various partitions on disk skvasistha Linux - Software 1 11-23-2004 07:53 AM
unable to view contents of /home anubhuti_k General 4 11-20-2004 05:02 AM
unable to view contents of /home anubhuti_k Linux - Software 4 11-19-2004 11:04 PM
view contents in mounted partition macshark Linux - General 3 01-20-2003 10:13 PM
RH7.3 - how do i view rpmdb contents manually? quadzero Linux - Distributions 2 05-17-2002 06:44 AM


All times are GMT -5. The time now is 04:12 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration