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? TIA Norbert
On Monday 18 September 2006 15:12, norbert@akumakun.de wrote:> 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?IIRC the mount point directory must be owned by the user attempting the mount.
norbert@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