giving users permission to mount a CD
I'm having problems giving my users the ability to mount /dev/cdrom to /mnt/cdrom. when I try to mount a cd as a user other than root I egt an error message that says only root can mount /dev/cdrom to /mnt/cdrom.
|
My /dev/cdrom line in /etc/fstab looks like this
/dev/cdrom /mnt/cdrom iso9660 noauto,unhide,user,exec,ro 0 0 Users mount and umount just fine. Do you have 'user' among your mount options? |
man mount:
(iii) Normally, only the superuser can mount file systems. How- ever, when fstab contains the user option on a line, anybody can mount the corresponding system. Thus, given a line /dev/cdrom /cd iso9660 ro,user,noauto,unhide any user can mount the iso9660 file system found on his CDROM using the command mount /dev/cdrom or mount /cd For more details, see fstab(5) |
I do now. that was oe things I han't thought to check. I just finished installing a couple days ago and it has been probably two years since I have had a working computer that had Slack on it(much less any other linux), and I had forgotten the options in the fstab file from my unix days back in the army. Well, thanks so very much!!
|
To add a clarification to the use of user in the fstab is this quote from the mount man page.
Quote:
|
All times are GMT -5. The time now is 09:12 PM. |