Date: Sat, 07 Feb 2004 15:22:29 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Didier Wiroth <didier.wiroth@mcesr.etat.lu> Cc: FreeBSD User Questions List <freebsd-questions@freebsd.org> Subject: Re: vfs.usermount=1, bug? Message-ID: <1076185348.25803.4.camel@shumai.marcuscom.com> In-Reply-To: <c11ba4d1.a4d1c11b@etat.lu> References: <c11ba4d1.a4d1c11b@etat.lu>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sat, 2004-02-07 at 15:18, Didier Wiroth wrote: > 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@work:~> mount_ntfs /dev/ar0s1 mnt/ntfs/ > mount_ntfs: /dev/ar0s1: Operation not permitted > > Mounting was not permitted > > Changing to root: > dda@work:~> su > Password: > ROOT@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@work:/home/dda# umount mnt/ntfs > ROOT@work:/home/dda# exit > exit > > B) TRY AGAIN NOW AS USER DDA > dda@work:~> mount_ntfs /dev/ar0s1 mnt/ntfs/ > > NOw it works?! Hmm...!? > > Any suggestions?! The ntfs.ko kernel module wasn't loaded until root issued the command. While usermount allows users to mount file systems, it does not allow users to load kernel modules. Joe > Thx > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- PGP Key : http://www.marcuscom.com/pgp.asc [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAJUkEb2iPiv4Uz4cRAgrbAJ9wAW7D1oS0RvkgAKpVJHOH9Skw8gCfWJ9S i2Pg0U/ArXhM30pMkwLA2FI= =eIUu -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1076185348.25803.4.camel>
