From owner-freebsd-stable@FreeBSD.ORG Mon Sep 18 11:36:18 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4600316A412 for ; Mon, 18 Sep 2006 11:36:18 +0000 (UTC) (envelope-from jaj13@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FC7143D49 for ; Mon, 18 Sep 2006 11:36:11 +0000 (GMT) (envelope-from jaj13@web.de) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate02.web.de (Postfix) with ESMTP id D05251FC7C4E; Mon, 18 Sep 2006 13:36:09 +0200 (CEST) Received: from [83.99.27.193] (helo=[10.0.0.11]) by smtp06.web.de with esmtp (WEB.DE 4.107 #114) id 1GPHQ1-0002KC-00; Mon, 18 Sep 2006 13:36:09 +0200 Message-ID: <450E84A8.8010407@web.de> Date: Mon, 18 Sep 2006 13:36:08 +0200 From: Jona Joachim User-Agent: Thunderbird 1.5.0.7 (X11/20060915) MIME-Version: 1.0 To: norbert@akumakun.de References: <14301091.894441158577947426.JavaMail.servlet@kundenserver> In-Reply-To: <14301091.894441158577947426.JavaMail.servlet@kundenserver> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: jaj13@web.de X-Sender: jaj13@web.de Cc: freebsd-stable@freebsd.org Subject: Re: Too dumb to mount as non privileged user X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2006 11:36:18 -0000 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