Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2005 00:07:05 +0000
From:      Pietro Cerutti <pietro@sdf.lonestar.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Mount / Umount in user mode
Message-ID:  <421E6C29.6090502@sdf.lonestar.org>

next in thread | raw e-mail | index | archive | help
Hi there,
it's right! You must set the sysctl vfs.usermount=1, but you also have to
assure that the user you want to mount the cdrom owns the mountpoint,
tipically, as root you should type:
chown <user> /cdrom

Hope this helps,

Cheer,

Bachelier Vincent wrote:
> Hi,
> How to mount or umount any file system in user mode ?
> like cdrom, usb drive ... ?
> 
> I have hearn vfs.usermount with sysctl but I have set it and nothing !
> 
> How to make it work without setuid to mount and umount
> and without doing it with sudo
> 
> Ok thx, See ya
> 
> My freebsd is: FreeBSD vincent 5.3-STABLE FreeBSD 5.3-STABLE
> 

-- 
Pietro Cerutti
-- Powered by FreeBSD --
SDF Public Access UNIX System
sdf.lonestar.org


-- 
Pietro Cerutti
-- Powered by FreeBSD --
SDF Public Access UNIX System
sdf.lonestar.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?421E6C29.6090502>