Mounting data CD

Karel J. Bosschaart karelj at kayjay.nl
Wed Oct 20 09:27:59 PDT 2004


On Wed, Oct 20, 2004 at 09:21:16AM -0700, Kevin Glick wrote:
> > -----Original Message-----
> > From: owner-freebsd-questions at freebsd.org 
> > [mailto:owner-freebsd-questions at freebsd.org] On Behalf Of 
> > Steven Friedrich
> > Sent: Wednesday, October 20, 2004 9:17 AM
> > To: freebsd-questions at 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.


More information about the freebsd-questions mailing list