Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Dec 2003 17:26:48 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Harald Schmalzbauer <h@schmalzbauer.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: RC2 and vfs.usermount
Message-ID:  <1072391208.49366.0.camel@shumai.marcuscom.com>
In-Reply-To: <200312252207.39165@harrymail>
References:  <200312252129.53603@harrymail> <200312252207.39165@harrymail>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQA/62Qob2iPiv4Uz4cRAnBHAJ9nfEdNqPKK/kK2tojY+smf8HgwjQCgokH9
PYBKhdNUkFhLbVLjdV4M7F4=
=pySg
-----END PGP SIGNATURE-----

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