Re: RC2 and vfs.usermount

From: Joe Marcus Clarke <marcus_at_marcuscom.com>
Date: Thu, 25 Dec 2003 17:26:48 -0500
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

Received on Thu Dec 25 2003 - 13:26:59 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC