Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just got a cd containing various data I want to view. When I insert the cd and try to display its contents using Nautilus I get an error message that says;
"You do not have the permissions necessary to view the contents of 'cdrom'."
The same goes for my other cdrom device, cdrom2.
I'm a simple newbie, but I'm guessing I have to change the permissions. When I query the permissions in the mnt directory at the moment I get the following output;
[me@local host mnt]$ ls -l
total 10
drwx------ 9 1620 6310 2048 Dec 10 12:13 cdrom/
drwxr-xr-x 2 root root 4096 Jul 4 2004 cdrom2/
drwxrwxrwx 0 root root 0 Mar 14 13:23 floppy/
drwxrwxrwx 0 root root 0 Mar 14 13:23 hd/
drwxr-xr-x 2 root root 4096 Jul 4 2004 windows/
I'm running recently installed Mandrake10.
What do I have to do to be able access the contents of cds?
usually there is a graphical way of changing permissions - right click the mountpoint you want to change and you get a dialog with various tabs - one handles permissions. You may need to be root.
I can't acess the contents of /mnt/cdrom/ using a terminal or via Nautilus graphical file manager.
Under Applications>System>Configuration>Hardware>CD Properties
There is a GUI to set CD preferences. For Data Discs "Mount discs when inserted" and "Start Auto run on newly inserted discs" are selected under this GUI.
What do I have to do to see what is on CDs placed into /mnt/cdrom/ and /mnt/cdrom2/?
I just executed
$ mount /mnt/cdrom
and this got me access to the CD.
Will I always have to execute this command from a terminal the first time I want to look at a CD during a session?
Looks like you're machine ain't mounting the CDRoms when they are inserted dosn't it? Show us your fstab entry for your drives, we'll see iffin we can't fix that for you so the volumes mount at insertion.
Also - please put your distro in your profile (My LQ > Edit Profile) so it shows up in the sidebar (left). Means we don't have to hunt through previous posts to remind ourselves...
/dev/hdb /mnt/cdrom auto umask=0,user,codepage=850,iocharset=iso8859-15,noauto,ro,exec 0 0
/dev/hdd /mnt/cdrom2 auto umask=0,user,iocharset=iso8859-15,codepage=850,noauto,ro,exec 0 0
replace the "noauto" entry with "auto". This is stopping the disks automounting.
umask=0 is the same as chmod 777.
user means that you don't have to be root to mount/unmount
iocharset and codepage just selects some defaults.
ro means mount read-only
exec allows execution too - so you can open directories probably.
0 0 are for when they mount - i.e. after everything else.
What you want is...
Code:
\dev\hdb \mnt\cdrom auto auto,user,ro 0 0
\dev\hdd \mnt\cdrom2 auto auto,user,ro 0 0
but you can keep the rest if you're squeemish.
GUI Tool: in what way dosn't it work? You click the icon and nothing happens? The tool comes up but it only has the "floppy" entry in it? What?
You can probably find out about it by right-clicking the launcher and looking at what commandline is called. (It will probably be to a script or a symlink... so follow it through the file system until you find the actual command. You will find information by typing man <command> or <command> -h in terminal.) For eg. In my system, the launcher (rt-click)>properties>launcher tells me that the command is "usermount". man usermount gets me information about how it works.
Thanks, I'll make the changes next time I'm at my PC.
When I say the GUI based disc mounting tool does not work I mean
that it is a GUI containing options to automount discs and selecting
these options appears to have done nothing. I have all the automount
options in this GUI tool selected, but discs still don't automount.
Thus I feel this GUI tool does not work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.