LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   problem mounting DVD drive (https://www.linuxquestions.org/questions/linux-hardware-18/problem-mounting-dvd-drive-242602/)

harryman100 10-14-2004 11:25 AM

problem mounting DVD drive
 
Hi,

I have two CD drives, one DVD (writer) drive, and a CDRW drive. I have not tried to get the writing capabilities of either drive working yet - so that is not the problem (I don't think).

They are /dev/hdc for CDRW and /dev/hdd for DVD. The relevant bit of my /etc/fstab looks like this

/dev/cdrw /mnt/cdrw iso9660 noauto,owner,ro 0 0
/dev/dvd /mnt/dvd iso9660 noauto,owner,ro 0 0

There are symlinks from /dev/dvd and /dev/cdrw to the relevant /dev/hd_ entries

I can issue a "mount /dev/cdrw" command fine (and access the contents of the CD!) however, when I do "mount /dev/dvd" I get

harry@slartibartfast:~$ mount /dev/dvd
mount: only root can mount /dev/dvd on /mnt/dvd

when I "su" and try and mount it it works fine....


The permissions for the mounting directories are the same as well:
dr-xr-xr-x 3 root root 2048 2004-08-26 00:49 cdrw
dr-xr-xr-x 1 root root 2048 2000-07-07 12:00 dvd

Does anyone know why these two behave differently?

Thanks,
Harry

Gort32 10-14-2004 12:08 PM

/mnt/cdrw and /mnt/dvd are just symlinks to the real devices - /dev/hdc and /dev/hdd most likely. Check the permissions on these devices and see if that helps. I bet that /dev/hdc has higher permissions than /dev/hdd

SiliconFOXX 10-14-2004 01:17 PM

Try this out, 'cause I get this thing all the time with anything in Slackware mounting-wise.

Edit the /etc/fstab and take a look at the comments to the right of each device. It'll have a little comma-delimited list like "noauto,owner," and so forth. Add "users" onto that little comma list, I bet it'll fix you right up.

harryman100 10-14-2004 04:23 PM

Thanks, I had to do both of these to fix the problem. The permissions problem, was that /dev/hdc had owner of me, and /dev/hdd had owner root!!

Thanks Guys!


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