Date: Tue, 15 Apr 2003 00:05:01 -0700 From: Joshua Lokken <joshua@joshualokken.com> To: DavidJohnson@Siemens.com Cc: freebsd-newbies@freebsd.org Subject: Re: /dev/... Message-ID: <20030415070501.GA79260@joloxbox.joshualokken.com> In-Reply-To: <200304141104.52180.DavidJohnson@Siemens.com> References: <200304141536.05035.a.carter@intrasoft.lu> <200304141104.52180.DavidJohnson@Siemens.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline * Johnson David (DavidJohnson@Siemens.com) wrote: ==> On Monday 14 April 2003 06:36 am, CARTER Anthony wrote: ==> > How do I allow users to mount devices from /dev/* (eg /dev/fd0). Do I ==> > just need to change the permissions etc, or is there a "better" way ==> > by adding a flag or something? ==> ==> There's an answer to this in the FAQ! See question 9.22 in the FAQ, ==> either on your system at /usr/share/doc/faq/disks.html if you installed ==> the docs, or at http://www.freebsd.org/doc/faq/disks.html. The procedure in the handbook simply does not work on my 4.8-stable. Sample output attached. I've always used sudo to mount filesystems as a user, but now that I've tried this and it doesn't work, I'd like to know why. Are there any other ideas? -- Joshua ==> David ==> _______________________________________________ ==> freebsd-newbies@freebsd.org mailing list ==> http://lists.freebsd.org/mailman/listinfo/freebsd-newbies ==> To unsubscribe, send any mail to "freebsd-newbies-unsubscribe@freebsd.org" --T4sUOijqQbZv57TR Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=user_mount /home/jolok >> ls -l /dev/fd0 crw-rw-rw- 18 root operator 9, 0 Mar 9 21:19 /dev/fd0 /home/jolok >> ls -l | grep floppy drwxrwxr-x 2 jolok jolok 512 Apr 14 22:22 floppy /home/jolok >> sysctl -a | grep "vfs.usermount" <118>vfs.usermount: <118>vfs.usermount: <118>vfs.usermount: <118>vfs.usermount: vfs.usermount: 1 <118>vfs.usermount: <118>vfs.usermount: <118>vfs.usermount: <118>vfs.usermount: Hmmm... /home/jolok >> whoami jolok /home/jolok >> mount -t msdos /dev/fd0 floppy msdos: vfsload(msdos): Operation not permitted --T4sUOijqQbZv57TR--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030415070501.GA79260>