Trouble with mounting USB stick as user

Steve O'Hara-Smith steve at sohara.org
Wed Feb 8 05:13:57 PST 2006


On Wed, 8 Feb 2006 06:46:37 -0600
Michael Ekstrand <lists at elehack.net> wrote:

> On Wed, 8 Feb 2006 22:40:04 +1100
> Rob <rbyrnes at mailshack.com> wrote:
> > Can anyone shed some light on what is happening here?
> 
> AFAIK, only root can mount things under FreeBSD, period. I could be
> wrong on this... but I looked around a while ago for something to do
> the job of the Linux 'user' option, and found nothing. I kinda remember
> trying changing permissions too.
> 
> If I'm wrong, I'd love to be corrected :-).

	Ask and ye shall receive :)

sysctl vfs.usermount=1

	Will enable users to mount devices *provided* that they own the
mount point and have access to the device node.

-- 
C:>WIN                                      |   Directable Mirror Arrays
The computer obeys and wins.                | A better way to focus the sun
You lose and Bill collects.                 |    licences available see
                                            |    http://www.sohara.org/


More information about the freebsd-stable mailing list