kern/89083: vfs.usermount works - _sometimes_.
maxim at macomnet.ru
Tue Nov 15 19:50:25 GMT 2005
The following reply was made to PR kern/89083; it has been noted by GNATS.
From: Maxim Konovalov <maxim at macomnet.ru>
To: "trasz <" <trasz at pin.if.uz.zgora.pl>
Cc: bug-followup at freebsd.org
Subject: Re: kern/89083: vfs.usermount works - _sometimes_.
Date: Tue, 15 Nov 2005 22:46:34 +0300 (MSK)
On Tue, 15 Nov 2005, 19:26-0000, trasz < wrote:
> After setting vfs.usermount=1 and configuring things the usual way
> (setting the owner of device and mount point), attempt to mount results
> in EPERM - unless the device has been successfully (as root) mounted
> (and unmounted) before.
> Configure usermount as described in FreeBSD GNOME FAQ. Try to mount.
> Su(8) to root, mount and unmount. Go back to your unpriviledged account,
> try to mount.
What's exactly you mount? Try to load a corresponded kernel module
before mount. E.g for cd9660:
# kldload cd9660.ko
Then as unprivileded user:
$ mount /cdrom
More information about the freebsd-bugs