RC2 and vfs.usermount

Joe Marcus Clarke marcus at marcuscom.com
Thu Dec 25 14:27:00 PST 2003


On Thu, 2003-12-25 at 16:07, Harald Schmalzbauer wrote:
> On Thursday 25 December 2003 21:46, Ruslan Ermilov wrote:
> > On Thu, Dec 25, 2003 at 09:29:48PM +0100, 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?
> >
> > The mount point should be owner by the user.
> 
> It is. It's a nfs mountpoint, but I also tried another one on the local hard 
> disk owned by the user. No difference. It just doesn't work and I have no 
> idea why :(

Could be something to do with the underlying /dev/acd0 permissions.  I
have never tried to mount an atapicam node, so I'm not sure.  I will say
that usermount does work in very recent -CURRENT.  I've been testing it
extensively.

Joe

> 
> -Harry
> 
> >
> >
> > Cheers,
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031225/92773fc7/attachment.bin


More information about the freebsd-current mailing list