Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2006 08:35:40 -0600
From:      Michael Ekstrand <lists@elehack.net>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Re: Trouble with mounting USB stick as user
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Feb 2006 14:27:12 +0100 (CET)
Oliver Fromme <olli@lurza.secnetix.de> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060209083540.0cbdbfb0.lists>