Date: Mon, 31 Jan 2005 16:21:48 +0100 (MET) From: "Stan Sorochan" <stan.de@gmx.net> To: freebsd-fs@freebsd.org Subject: FreeBSD 5.2 How do I let ordinary users mount floppies, CDROMs and other removable media? Message-ID: <25212.1107184908@www21.gmx.net>
next in thread | raw e-mail | index | archive | help
Hi everyone! I am running FreeBSD 5.2 on a PIV machine What I need to do is let ordinary users mount removable media (CD's, floppies, flash cards, digicams, etc) So I went ahead and done the following steps: enabled vfs.usermount (i've checked it - after reboot I do this: # sysctl -a | grep vfs.usermount and get vfs.usermount=1 then I've added the following groups to my group file and added myself to them: usb, floppy, cdrom. their GID's are all above 1001 then I've added the following to my /etc/devfs.conf: own acd0 root:cdrom perm acd0 0660 own fd0 root:floppy perm fd0 0660 **************************************************************** ***After all of the above I can mount a CD without doing a su*** **************************************************************** Then I've created a /etc/devfs.rules and put the following lines into it: [fetbox_usb=10] add path 'da*s*' mode 0660 group usb and I've added the follwing line to my /etc/rc.conf: devfs_system_ruleset="fetbox_usb" so that my rule was loaded at boot time but I still cannot mount stuff on the USB port. If I check the permission rights for my da* device, everything seems OK, the device gets assigned the correct gid and rights. What am I missing? How can I make my USB devices accessible without SU??? -- Thanks in advance for your support! Stan Sorochan -- GMX im TV ... Die Gedanken sind frei ... Schon gesehen? Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?25212.1107184908>