View previous topic :: View next topic |
Author |
Message |
alex n00b
Joined: 20 Jun 2002 Posts: 36 Location: Netherlands
|
Posted: Thu Jul 04, 2002 9:14 pm Post subject: Mounting question |
|
|
Hi,
I have some trouble to give users the right to mount the floppy / cdrom device. I added the "users" option to the "fstab" but with no effect.
Mounting as root works fine, but mounting as a users results in a message saying that only the user must have superuser rights to use mount.
Any suggestions are welcome,
Alex |
|
Back to top |
|
|
headly n00b
Joined: 21 Jun 2002 Posts: 46
|
Posted: Thu Jul 04, 2002 9:44 pm Post subject: pleease |
|
|
a copy of the fstab would help |
|
Back to top |
|
|
fghellar Bodhisattva
Joined: 10 Apr 2002 Posts: 856 Location: Porto Alegre, BR
|
|
Back to top |
|
|
alex n00b
Joined: 20 Jun 2002 Posts: 36 Location: Netherlands
|
Posted: Fri Jul 05, 2002 8:05 am Post subject: |
|
|
OK,
here is the floppy / cdrom related part of my fstab:
Code: | /dev/cdroms/cdrom0 /mnt/cdrom iso9660 users,ro,noauto 0 0
/dev/floppy/0 /mnt/floppy vfat users,noauto 0 0 |
and for those of you who didn't read the man pages a little quote from the mount man page:
Quote: | user Allow an ordinary user to mount the file system. The name of the mounting user is written to mtab
so that he can unmount the file system again. This option implies the options noexec, nosuid, and
nodev (unless overridden by subsequent options, as in the option line user,exec,dev,suid).
users Allow every user to mount and unmount the file system. This option implies the options noexec,
nosuid, and nodev (unless overridden by subsequent options, as in the option line
users,exec,dev,suid).
|
However I also tried the user option without success. I also added the user to the groups floppy and cdrom (without luck).
The last thing I tried was adding the s-bit to the mount rights. That indeed worked, but I'm not sure if that is a safe solution.
Alex |
|
Back to top |
|
|
kybber Apprentice
Joined: 25 Jun 2002 Posts: 228 Location: Trondheim, Norway
|
Posted: Fri Jul 05, 2002 9:14 am Post subject: |
|
|
The following settings in fstab allow my user to mount both cdrom and floppy. The user is not a member of the floppy or cdrom groups.
Code: |
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user,ro 0 0
/dev/floppy/0 /mnt/floppy vfat noauto,user 0 0
|
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|