From owner-freebsd-questions@FreeBSD.ORG Fri Jan 7 06:43:49 2005 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 9DB3916A4CE for ; Fri, 7 Jan 2005 06:43:49 +0000 (GMT) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E4FA43D2D for ; Fri, 7 Jan 2005 06:43:49 +0000 (GMT) (envelope-from smithcam@adelphia.net) Received: from [192.168.0.100] (really [68.169.225.230]) by mta11.adelphia.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20050107064348.VRGU1403.mta11.adelphia.net@[192.168.0.100]>; Fri, 7 Jan 2005 01:43:48 -0500 Message-ID: <41DE2FA3.4090500@adelphia.net> Date: Thu, 06 Jan 2005 22:43:47 -0800 From: Kevin Smith User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20041221 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthias Buelow References: <41DE22AE.50101@adelphia.net> <41DE2457.20508@incubus.de> In-Reply-To: <41DE2457.20508@incubus.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: how do I permit ordinary users to mound SCSI devices ? 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, 07 Jan 2005 06:43:49 -0000 Matthias Buelow wrote: > Kevin Smith wrote: > >> How do I permit ordinary users to mound SCSI devices ? >> >> As suggested in the FAQ, section 9, I am able to allow members of >> operator group mount the cdrom by setting sysctl -w vfs.usrmount=1 >> This does not appear to work with SCSI devices. (ex: /dev/da0s2) >> I get the error: >> > mount -t msdos /dev/da0s2 ~/ipod >> msdosfs: /dev/da0s2: Permission denied > > > the last time I was bitten by that issue, the mount point had to be > owned by the user (group write access apparently isn't enough). > that's a bit of a problem with things like gui mounters and I hope > that that behaviour will be changed sometime in the future. at least > I can't see any security problems with a user being able to mount over > a mountpoint where he only has group write access. I thought that was the case, but I created a directory in the user's home directory (as that user) and used it as the mount point and it still does not permit it (see example above: ~/ipod is owned by the user). It works with the cdrom device though- i can mount that as a regular operator user. -K > > mkb. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >