Date: Mon, 18 Sep 2006 13:36:08 +0200 From: Jona Joachim <jaj13@web.de> To: norbert@akumakun.de Cc: freebsd-stable@freebsd.org Subject: Re: Too dumb to mount as non privileged user Message-ID: <450E84A8.8010407@web.de> In-Reply-To: <14301091.894441158577947426.JavaMail.servlet@kundenserver> References: <14301091.894441158577947426.JavaMail.servlet@kundenserver>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?450E84A8.8010407>