From owner-freebsd-current@FreeBSD.ORG Thu Dec 25 23:26:19 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 0B6AD16A4CE; Thu, 25 Dec 2003 23:26:19 -0800 (PST) Received: from mail-in.m-online.net (svr8.m-online.net [62.245.150.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3327743D45; Thu, 25 Dec 2003 23:26:15 -0800 (PST) (envelope-from h@schmalzbauer.de) Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id C90995417; Fri, 26 Dec 2003 08:26:13 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-234-180.mnet-online.de [62.245.234.180]) by mail.m-online.net (Postfix) with ESMTP id 9198C2BFB4; Fri, 26 Dec 2003 08:26:13 +0100 (CET) From: Harald Schmalzbauer To: Tim Robbins Date: Fri, 26 Dec 2003 08:26:01 +0100 User-Agent: KMail/1.5.4 References: <200312252129.53603@harrymail> <3FEB9D8B.1020404@freebsd.org> In-Reply-To: <3FEB9D8B.1020404@freebsd.org> X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_UK+6/EUaCq//NMf"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200312260826.13106@harrymail> 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 07:26:19 -0000 --Boundary-02=_UK+6/EUaCq//NMf Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Friday 26 December 2003 03:31, Tim Robbins wrote: > 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. Hey, you are the winner. That sounds logical to me and after putting cd9660= =20 into my kernel it is working fine. Thanks a lot. Perhaps one should drop a note on the FAQ, where I read about vfs.usermount= =20 (www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT) Thanks again, =2DHarry > > > Tim --Boundary-02=_UK+6/EUaCq//NMf Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQA/6+KUBylq0S4AzzwRAgKEAJ0eNl4PEDSSFjHRjhaIbH8dY2FcrACePw8S zGnqAWHjOePpYwTh/Y9cqVc= =+ZQE -----END PGP SIGNATURE----- --Boundary-02=_UK+6/EUaCq//NMf--