RC2 and vfs.usermount
Harald Schmalzbauer
h at schmalzbauer.de
Thu Dec 25 23:26:19 PST 2003
On Friday 26 December 2003 03:31, Tim Robbins wrote:
> 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?
>
> Make sure that if CD9660 is not compiled into the kernel, cd9660.ko has
> been loaded by root before you try to mount the filesystem as an
> unprivileged user. The kernel tries to load the module automatically,
> but this fails if you're not root or if securelevel has been raised.
> Also be aware that the character set conversion options to
> mount_{cd9660,msdosfs,ntfs} do not always work properly for unprivileged
> users.
Hey, you are the winner. That sounds logical to me and after putting cd9660
into my kernel it is working fine.
Thanks a lot.
Perhaps one should drop a note on the FAQ, where I read about vfs.usermount
(www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT)
Thanks again,
-Harry
>
>
> Tim
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031226/2ac09a3d/attachment.bin
More information about the freebsd-current
mailing list