Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Feb 2006 20:05:44 +0100
From:      martinko <martinkov@pobox.sk>
To:        freebsd-stable@freebsd.org
Subject:   Re: Trouble with mounting USB stick as user
Message-ID:  <dsdfe8$1sd$1@sea.gmane.org>
In-Reply-To: <200602081848.k18ImWBC074208@lurza.secnetix.de>
References:  <43EA3A34.8070801@pobox.sk> <200602081848.k18ImWBC074208@lurza.secnetix.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dsdfe8$1sd$1>