From owner-freebsd-stable@FreeBSD.ORG Thu Feb 9 14:35:47 2006 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7290116A420 for ; Thu, 9 Feb 2006 14:35:47 +0000 (GMT) (envelope-from lists@elehack.net) Received: from weirdo.crazywebhosting.net (weirdo.crazywebhosting.net [70.85.78.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20BEC43D48 for ; Thu, 9 Feb 2006 14:35:46 +0000 (GMT) (envelope-from lists@elehack.net) Received: from rentacop.student.iastate.edu ([65.110.225.31] helo=bezalel) by weirdo.crazywebhosting.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.52) id 1F7Ctn-0005Bj-Ox for freebsd-stable@FreeBSD.ORG; Thu, 09 Feb 2006 08:35:55 -0600 Date: Thu, 9 Feb 2006 08:35:40 -0600 From: Michael Ekstrand To: freebsd-stable@FreeBSD.ORG Message-Id: <20060209083540.0cbdbfb0.lists@elehack.net> In-Reply-To: <200602081327.k18DRCY2061980@lurza.secnetix.de> References: <20060208064637.11c015ee.lists@elehack.net> <200602081327.k18DRCY2061980@lurza.secnetix.de> Organization: Ekstrand Family X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.11; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - weirdo.crazywebhosting.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - elehack.net X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Re: Trouble with mounting USB stick as user X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Feb 2006 14:35:47 -0000 On Wed, 8 Feb 2006 14:27:12 +0100 (CET) Oliver Fromme wrote: > To enable user mounts, there are three conditions: > 1. sysctl vfs.usermount=1 > 2. The user must have read+write permission on the device > which is to be mounted. This is usually accomplished > by creating a special group for this device. > 3. The user must _own_ the mountpoint (r/w permission is > not sufficient). Excellent :-). I now have my USB flash stick mounting as my regular user (and thanks to [LoN]Kamikaze for the devfs.rules hints). > Of course, an alternative is to use sudo (ports/security/sudo) > or super (ports/security/super, which prefer). That's what I've been doing, but it doesn't play so well with a GUI file manager. Of course, some provide the option to use sudo/gksu/whatever, but not ROX at this point AFAIK. Again, thanks all for pleasantly proving me wrong :-). - Michael