[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mount: only root can do that



jmr_071769 <jmr_071769@comcast.net> writes:

> howdy everyone.
> 
> could someone tell me how to allow a regular debian user to mount a
> cdrom? odd that, you can create the cdrom device with kde and mount it,
> but the user can't use console mount commands to mount the same device.
> 
> here's the fstab:
> 
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> /dev/hda3       /               ext3    defaults,errors=remount-ro 0       1
> /dev/hda1       /boot           ext3    defaults        0       2
> /dev/hda2       none            swap    sw              0       0
> /dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
> /dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
> 
> and here's an example command i'm using to try to mount along with it's
> output:
> 
> kevans@kevans:~$ mount -t auto /dev/hdc /media/cdrom0
> mount: only root can do that

try "mount /media/cdrom0". If you add device and -t, then it no longer
corresponds to the fstab-entry, where option "user" is set.

-- 
Felix Natter



Reply to: