Click to See Complete Forum and Search --> : mounting with normal users?...


servo888
12-24-2003, 07:28 PM
Is there a way to give a user other than root privilage to mount drives?

Thanks in advance

-servo

sharth
12-24-2003, 07:35 PM
in the fstab, add the option users. like so...

/dev/sda1 /media/usb auto noauto,users 0 0

servo888
12-24-2003, 10:09 PM
thanks alot! worked very well :-)

cheers m8


-servo

pezplaya
12-28-2003, 05:16 PM
I have this working fine... but when I have that line in fstab it likes to access the floppy drive every so often when sda1 is mounted. If I mount sda1 as root, everything is fine with no floppy drive access.

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
#none /sys sysfs defaults 0 0


#DIGITAL CAMERA
/dev/sda1 /mnt/camera auto noauto,user 0 1

#120GB Hard Drive
/dev/hdb1 /mnt/music ext3 defaults 1 3
#/dev/hdb2 /mnt/backup ext3 defaults 1 4
#/dev/hdb3 /mnt/other ext3 defaults 1 5



/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0


What do those two numbers mean at the end of the entry? (0 0) 0 1....

pezplaya
12-28-2003, 05:26 PM
Well I changed the
/dev/sda1 /mnt/camera auto noauto,user 0 1
to
/dev/sda1 /mnt/camera auto noauto,user 0 0

and that seemed to solve the problem... but, what do those numbers represent?