You are not logged in.

#1 2004-08-10 17:09:11

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

fstab: Allowing users to mount DVD-Rom - how?

Hello ... a silly question i know ...

i had following in my fstab (generated by Archinux install)

/dev/cdroms/cdrom0     /mnt/dvd   udf   ro,user,noauto,unhide   0      0

But i cannot mount the dvd as user i get following error message:

mount: only root can mount /dev/cdroms/cdrom0 on /mnt/dvd

I thought the options "user" allows all users to mount it?

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#2 2004-08-10 17:16:04

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,261

Re: fstab: Allowing users to mount DVD-Rom - how?

try this for me it works
/dev/cdroms/cdrom0     /mnt/dvd   auto   ro,user,noauto,unhide   0      0

Offline

#3 2004-08-10 17:22:09

ActionNews
Member
From: Augsburg (Germany)
Registered: 2004-02-24
Posts: 150
Website

Re: fstab: Allowing users to mount DVD-Rom - how?

when i try this as user i get following:

mount /dev/cdroms/cdrom0
/dev/cdroms/cdrom0: Input/output error
mount: I could not determine the filesystem type, and none was specified

EDIT: oh sorry audio-cds cannot be mounted big_smile. with a dvd-rom it works smile.
Thanks.

CU ActionNews


[URL=http://www.nethands.de/athlon/show.php3?user=actionnews]My System[/URL] - one click ahead!

Offline

#4 2004-08-11 15:26:40

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: fstab: Allowing users to mount DVD-Rom - how?

only data dvds need to be mounted to read the contents. movie dvds will behave much like cds in that your dvd application should automatically find it if the path is set correctly.


AKA uknowme

I am not your friend

Offline

#5 2004-08-12 21:49:33

hypermegachi
Member
Registered: 2004-07-25
Posts: 311

Re: fstab: Allowing users to mount DVD-Rom - how?

login: root

chmod a+s /bin/mount
chmod a+s /bin/umount
chmod a+r /etc/fstab

first 2 allows any user to mount as root.  3rd command allows any user to just type mount /dev/dvd or whatever, and it will auto mount the where fstab says.

Offline

#6 2004-08-12 21:52:04

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: fstab: Allowing users to mount DVD-Rom - how?

When using the suid bit, it doesn't quite work like that.  You only want to chmod u+s... but that should already be done by default...


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

Board footer

Powered by FluxBB