From owner-freebsd-questions@FreeBSD.ORG Fri Aug 29 15:57:09 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 BB3E916A4BF for ; Fri, 29 Aug 2003 15:57:09 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB65044001 for ; Fri, 29 Aug 2003 15:57:08 -0700 (PDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: from be-well.ilk.org (be-well.no-ip.com[66.30.200.37]) by comcast.net (sccrmhc11) with ESMTP id <20030829225708011008o7p3e>; Fri, 29 Aug 2003 22:57:08 +0000 Received: from be-well.ilk.org (lowellg.ne.client2.attbi.com [66.30.200.37] (may be forged)) by be-well.ilk.org (8.12.9/8.12.9) with ESMTP id h7TMv7N9054514; Fri, 29 Aug 2003 18:57:07 -0400 (EDT) (envelope-from freebsd-questions-local@be-well.no-ip.com) Received: (from lowell@localhost) by be-well.ilk.org (8.12.9/8.12.6/Submit) id h7TMv7dT054511; Fri, 29 Aug 2003 18:57:07 -0400 (EDT) X-Authentication-Warning: be-well.ilk.org: lowell set sender to freebsd-questions-local@be-well.ilk.org using -f Sender: lowell@be-well.no-ip.com To: Desmond Lee References: <000801c36e78$fda8e0e0$6501a8c0@croydon> <44n0dst6ul.fsf@be-well.ilk.org> From: Lowell Gilbert Date: 29 Aug 2003 18:57:06 -0400 In-Reply-To: <44n0dst6ul.fsf@be-well.ilk.org> Message-ID: <44isogt6m5.fsf@be-well.ilk.org> Lines: 20 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: freebsd-questions@freebsd.org Subject: Re: allowing non root users to mount 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: Fri, 29 Aug 2003 22:57:09 -0000 Lowell Gilbert writes: > Desmond Lee writes: > > > I don't understand how editing /etc/fbtab will help me provide a > > mounting point that is accessible to everyone. I believe that fbtab will > > just set the permissions of the device to whatever is specified in that > > file. > > Yes, but it can also set the ownership of the directory. Users can > only mount onto directories that they own (this is mentioned a number > of times in the FAQ entry, as well as in the manual page for > mount_msdos(8)). I should also have mentioned that I prefer not to mess with user mounting at all, but to use sudo to let a set of users execute the mount command. You can configure it to allow them to only use it for one specific command. And for floppies, I generally prefer mtools anyway, because a corrupt mounted filesystem (and floppies go bad annoyingly often) is so hazardous to the system.