From owner-freebsd-questions@FreeBSD.ORG Wed Oct 20 16:27:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6165A16A4CF for ; Wed, 20 Oct 2004 16:27:59 +0000 (GMT) Received: from kayjay.xs4all.nl (kayjay.xs4all.nl [80.126.33.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 903FF43D1F for ; Wed, 20 Oct 2004 16:27:58 +0000 (GMT) (envelope-from karelj@kayjay.xs4all.nl) Received: from kayjay.xs4all.nl (localhost.kayjay.xs4all.nl [127.0.0.1]) by kayjay.xs4all.nl (8.13.1/8.13.1) with ESMTP id i9KGRuwu086548; Wed, 20 Oct 2004 18:27:56 +0200 (CEST) (envelope-from karelj@kayjay.xs4all.nl) Received: (from karelj@localhost) by kayjay.xs4all.nl (8.13.1/8.13.1/Submit) id i9KGRuFM086547; Wed, 20 Oct 2004 18:27:56 +0200 (CEST) (envelope-from karelj) Date: Wed, 20 Oct 2004 18:27:56 +0200 From: "Karel J. Bosschaart" To: Kevin Glick Message-ID: <20041020162756.GA86409@kayjay.xs4all.nl> References: <200410201217.02187.FreeBSD@insightbb.com> <20041020162233.8A8F743D4C@mx1.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041020162233.8A8F743D4C@mx1.FreeBSD.org> User-Agent: Mutt/1.4.2.1i cc: 'Steven Friedrich' cc: 'FreeBSD Questions' Subject: Re: Mounting data CD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2004 16:27:59 -0000 On Wed, Oct 20, 2004 at 09:21:16AM -0700, Kevin Glick wrote: > > -----Original Message----- > > From: owner-freebsd-questions@freebsd.org > > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of > > Steven Friedrich > > Sent: Wednesday, October 20, 2004 9:17 AM > > To: freebsd-questions@freebsd.org > > Subject: Mounting data CD > > > > I'm trying to mount a data CD as a normal user. It works > > fine as root, but I > > want average users to be able to do it. > > > > Here's the session: > > % mount_cd9660 /dev/acd0c /cdrom > > mount_cd9660: /dev/acd0c: Operation not permitted > > % mount_cd9660 /dev/acd0c /mnt > > mount_cd9660: /dev/acd0c: Operation not permitted > > Normal users don't have permissions to mount to /cdrom or /mnt. > They should be able to mount in their home directory. You might Since I didn't see it mentioned: user mounting also requires that vfs.usermount is set to 1. Use sysctl or /etc/sysctl.conf to achieve this. Karel.