From owner-freebsd-current@FreeBSD.ORG Thu Dec 25 18:31:23 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1EEAD16A4CE for ; Thu, 25 Dec 2003 18:31:23 -0800 (PST) Received: from smtp02.syd.iprimus.net.au (smtp02.syd.iprimus.net.au [210.50.76.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 27EED43D31 for ; Thu, 25 Dec 2003 18:31:22 -0800 (PST) (envelope-from tjr@freebsd.org) Received: from freebsd.org (203.134.135.59) by smtp02.syd.iprimus.net.au (7.0.020) id 3F8F522A015F5D0D; Fri, 26 Dec 2003 13:31:09 +1100 Message-ID: <3FEB9D8B.1020404@freebsd.org> Date: Fri, 26 Dec 2003 13:31:39 +1100 From: Tim Robbins User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Harald Schmalzbauer References: <200312252129.53603@harrymail> In-Reply-To: <200312252129.53603@harrymail> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Re: RC2 and vfs.usermount X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 02:31:23 -0000 Harald Schmalzbauer wrote: >Hello, > >I'm trying to enable cd mount for regular user. User is in group operator and >cd0 (via atapicam) looks like this: >crw-rw-r-- 1 root operator - 4, 21 25 Dez 21:06:31 2003 cd0 > >Also sysctl vfs.usermount returns: >vfs.usermount: 1 > >But when I try to mount the cd I get the following error: >cd9660: /dev/cd0: Operation not permitted > >I absolutely don't understand why. It doesn't matter whether I use the >atapicam cd0 or the acd0. >What am I missing? > > Make sure that if CD9660 is not compiled into the kernel, cd9660.ko has been loaded by root before you try to mount the filesystem as an unprivileged user. The kernel tries to load the module automatically, but this fails if you're not root or if securelevel has been raised. Also be aware that the character set conversion options to mount_{cd9660,msdosfs,ntfs} do not always work properly for unprivileged users. Tim