From owner-freebsd-questions@FreeBSD.ORG Sat Feb 7 19:48:53 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F2C716A4DD; Sat, 7 Feb 2004 19:48:53 -0800 (PST) Received: from mx1.rootauthority.us (adsl-66-123-229-170.dsl.sndg02.pacbell.net [66.123.229.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8E8A43D1D; Sat, 7 Feb 2004 19:48:52 -0800 (PST) (envelope-from root@rootauthority.us) Received: by mx1.rootauthority.us (Postfix, from userid 0) id 95987B94E; Sat, 7 Feb 2004 19:48:50 -0800 (PST) Received: from 207.115.63.84 [207.115.63.84] by localhost with POP3 (fetchmail-6.2.5) for __zma@localhost (single-drop); Sat, 07 Feb 2004 19:48:50 -0800 (PST) Received: from vmn-ext.prodigy.net by yipvmh with SMTP; Sat, 7 Feb 2004 17:05:15 -0500 X-Originating-IP: [216.136.204.119] Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by vmn-ext.prodigy.net (8.12.10/8.12.10) with ESMTP id i17KNKOY601604 for ; Sat, 7 Feb 2004 15:23:25 -0500 Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 2B30D55FAF; Sat, 7 Feb 2004 12:23:03 -0800 (PST) (envelope-from owner-freebsd-current@freebsd.org) Received: from hub.freebsd.org (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 1EE1216A4FB; Sat, 7 Feb 2004 12:22:59 -0800 (PST) Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F24D816A4CE; Sat, 7 Feb 2004 12:22:34 -0800 (PST) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F8DA43D1F; Sat, 7 Feb 2004 12:22:34 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i17KItsm040968; Sat, 7 Feb 2004 15:18:55 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Didier Wiroth In-Reply-To: References: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-M5kJLZfsIo74bVkKrcXk" Organization: MarcusCom, Inc. Message-Id: <1076185348.25803.4.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 07 Feb 2004 15:22:29 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Sender: owner-freebsd-current@freebsd.org Errors-To: owner-freebsd-current@freebsd.org cc: freebsd-current@freebsd.org cc: FreeBSD User Questions List Subject: Re: vfs.usermount=1, bug? X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Feb 2004 03:48:53 -0000 --=-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--