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



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
%


The same problem exists for dos partitions etc. am I missing something here?

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"

Well, the mount point has to be "owned" and have suitable permissions for mounting.

For example, to mount my DVD drive while NOT logged on as root, I have a mounting point:

$HOME/cdrom

in my home directory and an appropriate entry in my /etc/fstabs.

jmc

_______________________________________________
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

  • cannot boot-up linux, unable to read superblock
    ... mount: error 22 mounting ext3 ... enable lvm and tried fsck for the volumes (one is empty volume? ... Attempt to read block from filesystem resulted in short read while trying to open /dev/VolGroup00/LogVol00 ...
    (RedHat)
  • vfat iPod suddenly fails to write [was: Re: [solved] Re: mounting iPod with USB]
    ... >>which is just wack, afaict, seeing as it was mounting happily with ... > the sda3 is the one to mount. ... Sep 28 12:14:44 homeruns kernel: FAT: Directory bread ...
    (Debian-User)
  • Re: Flying Lights
    ... generator with a B&M Lumotec plus 3W headlight. ... mount that makes a good hand held flashlight if needed ... I have several Cateye models which all use the same mounting you describe. ... I haven't noticed the 'L' rails themselves being chipped away. ...
    (rec.bicycles.misc)
  • RE: allowing non root users to mount
    ... how does this relate to making a common mounting point? ... make the common mounting point /floppy and set the permissions to ... cannot mount the floppy as a regular user. ... 'operation not permitted' and I have to su as root to get this to work. ...
    (freebsd-questions)
  • Re: flush mount alarm panel enclosure
    ... for mounting, and I suspect some still might. ... another when double stick tape is used to mount gear. ... there is no reason to not to mount gear using proper stanoffs. ... mount enclosure. ...
    (alt.security.alarms)