Mount / Umount in user mode

Pietro Cerutti pietro at sdf.lonestar.org
Thu Feb 24 23:07:13 GMT 2005


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


More information about the freebsd-questions mailing list