From owner-freebsd-questions@FreeBSD.ORG Tue Apr 15 00:04:33 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1E5937B401; Tue, 15 Apr 2003 00:04:33 -0700 (PDT) Received: from joloxbox.joshualokken.com (12-225-249-250.client.attbi.com [12.225.249.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id A273A43FB1; Tue, 15 Apr 2003 00:04:32 -0700 (PDT) (envelope-from jolok@joshualokken.com) Received: from joloxbox.joshualokken.com (localhost.joshualokken.com [127.0.0.1])h3F753aW087498; Tue, 15 Apr 2003 00:05:04 -0700 (PDT) (envelope-from jolok@joshualokken.com) Received: (from jolok@localhost) by joloxbox.joshualokken.com (8.12.9/8.12.9/Submit) id h3F751cE087480; Tue, 15 Apr 2003 00:05:01 -0700 (PDT) Date: Tue, 15 Apr 2003 00:05:01 -0700 From: Joshua Lokken To: DavidJohnson@Siemens.com Message-ID: <20030415070501.GA79260@joloxbox.joshualokken.com> References: <200304141536.05035.a.carter@intrasoft.lu> <200304141104.52180.DavidJohnson@Siemens.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="T4sUOijqQbZv57TR" Content-Disposition: inline In-Reply-To: <200304141104.52180.DavidJohnson@Siemens.com> User-Agent: Mutt/1.4i Organization: little to none X-OS: FreeBSD joloxbox.joshualokken.com 4.8-STABLE i386 cc: freebsd-questions@freebsd.org cc: freebsd-newbies@freebsd.org Subject: Re: /dev/... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Apr 2003 07:04:34 -0000 --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--