Re: vfs.usermount seem to have no effect...



Freddie Cash wrote:
On Fri, June 30, 2006 9:17 am, Evren Yurtesen wrote:
I tried to let my user to mount floppy however it doesnt work...see
below:

%ls -al /dev/fd0
crw-rw-rw- 1 root operator 0, 98 Jun 30 18:22 /dev/fd0 %ls -al
/mnt
total 4 drwxrwxrwx 2 root wheel 512 May 1 2005 . drwxr-xr-x 20
root wheel 512 Jun 30 18:21 .. %mount /dev/fd0 /mnt
mount: /dev/fd0: Operation not permitted
%sysctl -a | grep vfs.usermount
vfs.usermount: 1
%uname -a
FreeBSD perpetual.my.domain 6.1-STABLE FreeBSD 6.1-STABLE #0: Fri Jun
23
20:07:07 EEST 2006
yurtesen@xxxxxxxxxxxxxxxxxxx:/usr/obj/usr/src/sys/PERPETUAL i386
%

Please see the FAQ entry for this: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#USER-FLOPPYMOUNT
You're missing the last bit. :)

I already checked it...
I have vfs.usermount=1 and 666 mode on /dev/fd0
What am I missing? :) Can you tell the exact point?

Thanks,
Evren
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: vfs.usermount seem to have no effect...
    ... %sysctl -a | grep vfs.usermount ... 20:07:07 EEST 2006 ... You're missing the last bit. ...
    (freebsd-stable)
  • Re: Deleting subset
    ... > IIRC POSIX says that regexps whose size are smaller than 256 bytes are OK. ... the grep solution is not as general as suggested: ... lines with Name in Reference but not in Archive ... using comm on those list of Names to know which are Extra or Missing. ...
    (comp.unix.shell)
  • Re: F9 tftp broken?!
    ... Christian Schuermann wrote: ... $ ps -e | grep in.tftp ... That one is missing on the new F9 machine. ... I will never ever use guis again. ...
    (Fedora)
  • Re: vfs.usermount seem to have no effect...
    ... %sysctl -a | grep vfs.usermount ... You're missing the last bit. ... Users can only mount onto directories they own. ...
    (freebsd-stable)
  • Re: Capturing output (domain name) of wget after http redirect
    ... Am I missing something stupid? ... I was rather expecting you to keep the grep in the command ... If I try running this command, it replaces every entry with just one- ...
    (comp.unix.shell)