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
--=-M5kJLZfsIo74bVkKrcXk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-02-07 at 15:18, Didier Wiroth wrote: > Hi,=20 > using freebsd5.2-release=20 > I've set vfs.usermount=3D1 in sysctl.conf.=20 > Normal user get permission denied when trying to=20 > mount an ntfs permission (slice ars01), until root=20 > has mount and umount it at least once.=20 > See the following=20 > =20 > File permission on /dev/ar0s1 is 644 and owned by=20 > root:operator=20 > =20 > User ddais member of group dda, wheel & operator.=20 > =20 > A) Mounting as user dda:=20 > dda@work:~> mount_ntfs /dev/ar0s1 mnt/ntfs/=20 > mount_ntfs: /dev/ar0s1: Operation not permitted=20 > =20 > Mounting was not permitted =20 > =20 > Changing to root:=20 > dda@work:~> su=20 > Password:=20 > ROOT@work:/home/dda# mount_ntfs /dev/ar0s1=20 > mnt/ntfs=20 > =20 > Slice was mounted without problem, let's umount=20 > it, and change back to user dda.=20 > ROOT@work:/home/dda# umount mnt/ntfs=20 > ROOT@work:/home/dda# exit=20 > exit=20 > =20 > B) TRY AGAIN NOW AS USER DDA=20 > dda@work:~> mount_ntfs /dev/ar0s1 mnt/ntfs/=20 > =20 > NOw it works?! Hmm...!?=20 > =20 > Any suggestions?!=20 The ntfs.ko kernel module wasn't loaded until root issued the command.=20 While usermount allows users to mount file systems, it does not allow users to load kernel modules. Joe > Thx=20 > =20 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-M5kJLZfsIo74bVkKrcXk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAJUkEb2iPiv4Uz4cRAgrbAJ9wAW7D1oS0RvkgAKpVJHOH9Skw8gCfWJ9S i2Pg0U/ArXhM30pMkwLA2FI= =eIUu -----END PGP SIGNATURE----- --=-M5kJLZfsIo74bVkKrcXk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1076185348.25803.4.camel>