Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 18:27:56 +0200
From:      "Karel J. Bosschaart" <karelj@kayjay.nl>
To:        Kevin Glick <keving@sbfnet.com>
Cc:        'FreeBSD Questions' <freebsd-questions@freebsd.org>
Subject:   Re: Mounting data CD
Message-ID:  <20041020162756.GA86409@kayjay.xs4all.nl>
In-Reply-To: <20041020162233.8A8F743D4C@mx1.FreeBSD.org>
References:  <200410201217.02187.FreeBSD@insightbb.com> <20041020162233.8A8F743D4C@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041020162756.GA86409>