Date: Wed, 25 Oct 2006 20:21:02 -0400 From: Nicolas Blais <nb_root@videotron.ca> To: freebsd-questions@freebsd.org Cc: Lane <lane@joeandlane.com> Subject: Re: "User" mount of usb "key" drive ... question Message-ID: <200610252021.07073.nb_root@videotron.ca> In-Reply-To: <200610251918.41383.lane@joeandlane.com> References: <200610251918.41383.lane@joeandlane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart10201586.1VOkSirNiM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 25 October 2006 20:18, Lane wrote: > I guess I don't know how to ask google and "man fstab" the correct way ... > > How can I grant a non-root user the authority to mount (and then write to) > a usb "key" drive? Especially when said user is already "up in" kde? > > The drive works fine if "root" mounts it, but I'd rather not be root when= I > do this on my laptop. And opening a konsole window, "su"ing and then > mounting , is cumbersome. > > I've been looking at "man devfs.rules," as this seems to be near the place > I want to be. But I haven't quite fingered out a way... > > Ya'll don't gotta just tell me the answer, if you don't want. I'm a "man" > man, so to speak. I'm eager to look it up myself, only I don't rightly > know whereinaheck to look. > > Thanks, > > lane In /etc/devfs.rules I have: [devfsrules_local=3D15] add path 'da*' mode 0777 and in /etc/rc.conf I have: devfs_system_ruleset=3D"devfsrules_local" and in /etc/fstab: #user mounts for umass devices /dev/da0s1 /home/myhome/usbdrive msdosfs rw,noauto 0 0 and it works in KDE. =2D-=20 =46reeBSD 7.0-CURRENT #1: Sat Oct 7 15:11:02 EDT 2006 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? : http://www.clkroot.net/security/nb_root.asc --nextPart10201586.1VOkSirNiM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFP/9z4wTBlvcsbJURAtmhAJ9JjO8RRk8C+3SCPkoKV2L63KDQpgCgqz0U jqKLOuh6LGKHA4fVZkQARP0= =kGxM -----END PGP SIGNATURE----- --nextPart10201586.1VOkSirNiM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610252021.07073.nb_root>