vfs.usermount=1, bug?
Didier Wiroth
didier.wiroth at mcesr.etat.lu
Sat Feb 7 12:18:32 PST 2004
Hi,
using freebsd5.2-release
I've set vfs.usermount=1 in sysctl.conf.
Normal user get permission denied when trying to
mount an ntfs permission (slice ars01), until root
has mount and umount it at least once.
See the following
File permission on /dev/ar0s1 is 644 and owned by
root:operator
User ddais member of group dda, wheel & operator.
A) Mounting as user dda:
dda at work:~> mount_ntfs /dev/ar0s1 mnt/ntfs/
mount_ntfs: /dev/ar0s1: Operation not permitted
Mounting was not permitted
Changing to root:
dda at work:~> su
Password:
ROOT at work:/home/dda# mount_ntfs /dev/ar0s1
mnt/ntfs
Slice was mounted without problem, let's umount
it, and change back to user dda.
ROOT at work:/home/dda# umount mnt/ntfs
ROOT at work:/home/dda# exit
exit
B) TRY AGAIN NOW AS USER DDA
dda at work:~> mount_ntfs /dev/ar0s1 mnt/ntfs/
NOw it works?! Hmm...!?
Any suggestions?!
Thx
More information about the freebsd-questions
mailing list