From owner-freebsd-stable@FreeBSD.ORG Wed Feb 8 19:09:12 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 E620216A420 for ; Wed, 8 Feb 2006 19:09:12 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6AD6D43D45 for ; Wed, 8 Feb 2006 19:09:11 +0000 (GMT) (envelope-from freebsd-stable@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1F6uew-0002o3-TH for freebsd-stable@freebsd.org; Wed, 08 Feb 2006 20:07:23 +0100 Received: from r5k4.chello.upc.cz ([86.49.10.4]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2006 20:07:22 +0100 Received: from martinkov by r5k4.chello.upc.cz with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 08 Feb 2006 20:07:22 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: martinko Date: Wed, 08 Feb 2006 20:05:44 +0100 Lines: 36 Message-ID: References: <43EA3A34.8070801@pobox.sk> <200602081848.k18ImWBC074208@lurza.secnetix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: r5k4.chello.upc.cz User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.12) Gecko/20051205 X-Accept-Language: sk, cs, en-gb, en-us, en In-Reply-To: <200602081848.k18ImWBC074208@lurza.secnetix.de> Sender: news 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: Wed, 08 Feb 2006 19:09:13 -0000 Oliver Fromme wrote: > martinko wrote: > > 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). > > > > [...] > > $ ll /dev/ad0 > > crw-r----- 1 root operator 0, 96 Feb 8 18:27 /dev/ad0 > > Condition #2 isn't met: The device must be "rw" for for > the user (in this case for the operator group). Note > that "r" is not sufficient, even for read-only mounts. sure. but why did it mount /usr/home/mato/mnt/dos then ?? > > Best regards > Oliver > > PS: Please respect the "Reply-To:" header. I do read > the mailing list (via an NNTP gateway) and do _not_ want > to get superfluous copies in my mailbox. i'm sorry. > cheers, martin