[fixed] "only root can mount dvd" in SuSE 9.3 - he

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

[fixed] "only root can mount dvd" in SuSE 9.3 - he

Postby crussell » Fri Jun 10, 2005 4:06 pm

Hey all,

SuSE 9.3 keeps whining when I try to access my DVD drive as a user. It tells me only root can mount /dev/dvd on /media/dvd.

Before I start attacking fstab, here's the fstab entry for the entry:

/dev/dvd /media/dvd subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0

Am I right in assuming all I need to do is add "users" to the string and I'll magically let me access my own data ??

TIA

Crussell
Last edited by crussell on Fri Jun 10, 2005 5:23 pm, edited 1 time in total.
crussell
 
Posts: 4
Joined: Fri Jun 10, 2005 3:58 pm

ANd the utterly obvious answer is ...

Postby crussell » Fri Jun 10, 2005 5:22 pm

Yes it does fix the issue.

I will now take my Linux ignorance elsewhere and bask in it for a while ...
crussell
 
Posts: 4
Joined: Fri Jun 10, 2005 3:58 pm

RE: ANd the utterly obvious answer is ...

Postby Rhakios » Fri Jun 10, 2005 6:47 pm

Using subfs you shouldn't need to mount it, it should mount automatically. What might be happening is that the DVD is not mounted under /media/dvd, but under /media/volumename, where volumename is the label assigned to the dvd. For example, if I try the latest LXF dvd, I find it mounts under /media/LXFDVD68

This has something to do with udev, I believe (but could be wrong).
Bye, Rhakios
User avatar
Rhakios
Moderator
 
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK

RE: ANd the utterly obvious answer is ...

Postby nelz » Sat Jun 11, 2005 8:16 am

It's not udev, that only sets up device names. It seems to be subfs picking up the volume name.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8497
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby abhinav » Sun Jul 17, 2005 8:01 pm

Sorry for my ignorance, but I am having similar problem.

My cd's and dvd'd dont get automatically mounted. I have to mount them manually everytime I put them. and then unmount them.. which is pretty annoying. I am providing with my fstab file.

/dev/sda5 / reiserfs acl,user_xattr 1 1
/dev/sda7 /home reiserfs acl,user_xattr 1 2
/dev/sda1 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda6 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
sysfs /sys sysfs noauto 0 0
/dev/cdrecorder /media/cdrecorder subfs noauto,fs=cdfss,ro,procuid,nosuid,nodev,exec,iocharset=utf8 0 0


Can someone help me.. what is wrong here ??..
thanks in advance..
Abhi.
abhinav
 
Posts: 2
Joined: Sun Jul 17, 2005 7:58 pm

Postby Rhakios » Sun Jul 17, 2005 9:09 pm

By the look of your fstab nothing is wrong. I assume you have taken on board the comments above about CDs/DVDs being mounted under a different name under /media.
Bye, Rhakios
User avatar
Rhakios
Moderator
 
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK

Postby abhinav » Mon Jul 18, 2005 8:40 am

Yes Rhakios,
The I know about suse 9.3 mounting media under the label names. Thats actually even more annoying when I have to mount manually, because then when I unmount, these LABEL directories dont get deleted automatically and I have to delete them by hand!!! :(
abhinav
 
Posts: 2
Joined: Sun Jul 17, 2005 7:58 pm

Postby Rhakios » Mon Jul 18, 2005 6:49 pm

Well, then there's definitley something wrong, but it isn't your fstab, that's fine.
Bye, Rhakios
User avatar
Rhakios
Moderator
 
Posts: 7634
Joined: Wed Apr 06, 2005 11:18 pm
Location: Midlands, UK


Return to Help!

Who is online

Users browsing this forum: No registered users and 1 guest

cron