Too dumb to mount as non privileged user
Jona Joachim
jaj13 at web.de
Mon Sep 18 04:36:18 PDT 2006
norbert at akumakun.de wrote:
> Hello,
>
> using a 6.2-PRERELEASE I am not able to let a normal user mount a cdrom.
> I have tried the following:
>
> o vfs.usermount=1 to sysctl.conf
> o added group usermounters
> o added user to usermounters
> o own acd0 root:usermounters to devfs.conf
> o perm acd0 0660 to devfs.conf
> o created directory with ownership of non privileged user
> o reboot
>
> Trying to mount as user to the users own directory yields 'operation not permitted' error.
>
> So I changed the ownerships to 0666 but this didn't help either.
> I doublechecked sysctl, groups and ownerships. Can please anybody give me a hint?
Make sure the cd9660 kernel module is loaded before you mount a CD as
user. The first time you mount a CD the module is loaded but a user is
not allowed to load a kernel module. You may want to load the module
during boot time by putting a corresponding entry in /boot/loader.conf
--jona
More information about the freebsd-stable
mailing list