Date: Thu, 3 Feb 2005 01:10:35 +0200 From: Stan Sorochan <stan.de@gmx.net> To: freebsd-fs@freebsd.org Subject: Re: FreeBSD 5.2 How do I let ordinary users mount floppies, CDROMs and other removablemedia?I' Message-ID: <200502030110.35144.stan.de@gmx.net> In-Reply-To: <Pine.NEB.3.96L.1050131171756.35704L-100000@fledge.watson.org> References: <Pine.NEB.3.96L.1050131171756.35704L-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thanks to those who've responded! So I'm combining two of the emails that I've acted upon: =46irst:=20 >/dev/xpt0? >--=20 >Maxim Konovalov Second: > If you su to root, mount it, then unmount it, and then try to mount it as > the regular user, does that work? > > Robert N M Watson OK, I've added the follwing lines to my devfs.conf: own xpt0 root:usb #gid of those who need to mount a usb device perm xpt0 0660 so now I get this: # ll /dev/ | grep xpt0 crw-rw---- 1 root usb 104, 0 1 =EB=FE=F2 23:46 xpt0 this looks good, but I still can't mount the /dev/da0s1 without su rights. Then I do a su, mount the device, unmount it - and now I can mount the devi= ce=20 without su rights.... OK, that sort of works, but the su part really has to go.... How can I fix= =20 that? =2D-=20 Best regards, Stan Sorochan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502030110.35144.stan.de>