allowing non root users to mount

Luke Kearney lukek at
Thu Aug 28 20:56:05 PDT 2003

----- Original Message -----
From: "Desmond Lee" <desmond.lee at>
To: <freebsd-questions at>
Sent: Friday, August 29, 2003 12:49 PM
Subject: allowing non root users to mount

> Hello
> I'm trying to set up my system so that it can automatically mount some
> file systems on boot.
> However, can you do this on freeBSD? I mean, with RedHat it does it for
> you so that you have a floppy and cdrom icon on your desktop. But can
> you do that w/ freeBSD? I don't think so cause if there is no floppy/zip
> disk/ or cdRom in the drive when you mount, it will return you an error.
> So trying to mount these on boot is not right... is this correct?
> So far, I've just set up the /etc/fstab file so that the root can just
> type "mount /floppy" or "mount /zip" or whatever to mount the drives as
> needed. However, only root can do this and no other user is allowed to
> do mounts.
> # Device Mountpoint FStype Options Dump
> Pass#
> /dev/ad1s1b none swap sw
> 0 0
> /dev/ad1s1a / ufs rw
> 1 1
> /dev/ad1s1f /usr ufs rw
> 2 2
> /dev/ad1s1e /var ufs rw
> 2 2
> /dev/acd0c /cdrom cd9660 ro,noauto 0
> 0
> /dev/fd0 /floppy msdos   rw,noauto
> 0 0
> /dev/afd0s4 /zip msdos rw,noauto
> 0 0
> proc /proc procfs rw
> 0 0
> Is there any way that I can get no root users to mount files systems
> like cdrom, zip and floppy?
> I tried to look this up and some people said to use the "user" option in
> the /etc/fstab file, but this didn't work. Using the "nousid" option
> didn't work either.
> Thanks in advance.
> Regards
> Desmond
> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at"

Have you tried changing the permissions on the devices that you want non
root users to be able to mount ? I seem to remember that the are only
mountable by root as default but you might try changing to a more permissive
setup for those devices.


More information about the freebsd-questions mailing list