Date: Mon, 31 Jan 2005 18:52:12 +0300 (MSK) From: Maxim Konovalov <maxim@macomnet.ru> To: Stan Sorochan <stan.de@gmx.net> Cc: freebsd-fs@freebsd.org Subject: Re: FreeBSD 5.2 How do I let ordinary users mount floppies, CDROMs and other removable media? Message-ID: <20050131185131.S8282@mp2.macomnet.net> In-Reply-To: <25212.1107184908@www21.gmx.net> References: <25212.1107184908@www21.gmx.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Jan 2005, 16:21+0100, Stan Sorochan wrote: > 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??? /dev/xpt0? -- Maxim Konovalov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050131185131.S8282>