From owner-freebsd-questions@FreeBSD.ORG Sat Feb 7 12:28:54 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 DBE8F16A4CE for ; Sat, 7 Feb 2004 12:28:54 -0800 (PST) Received: from postino-1.etat.lu (postino-1.etat.lu [194.154.205.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7E0AF43D1F for ; Sat, 7 Feb 2004 12:28:54 -0800 (PST) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from avirus-2.cie.etat.lu (dispatch-2.cie.etat.lu [148.110.137.7]) by postino-1.etat.lu (Postfix) with ESMTP id 8859D433B13 for ; Sat, 7 Feb 2004 21:28:53 +0100 (CET) Received: from avirus-2.cie.etat.lu (dispatch-2.cie.etat.lu [148.110.137.7]) by localhost (CIE ESMTP Dispatch 2) with ESMTP id 7A4F7D3 for ; Sat, 7 Feb 2004 21:28:53 +0100 (CET) Received: from hermes-2 (hermes-2.cie.etat.lu [148.110.136.57]) 5E426CC for ; Sat, 7 Feb 2004 21:28:53 +0100 (CET) Received: from conversion-daemon.mail.etat.lu by mail.etat.lu (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) id <0HSQ00I01CUTVJ@mail.etat.lu> for freebsd-questions@freebsd.org; Sat, 07 Feb 2004 21:28:53 +0100 (MET) Received: from etat.lu (mail.etat.lu [148.110.136.60])18 2003)) with ESMTP id <0HSQ005UOE84HO@mail.etat.lu>; Sat, 07 Feb 2004 21:28:52 +0100 (MET) Received: from [192.168.1.74] by mail.etat.lu (mshttpd); Sat, 07 Feb 2004 21:28:52 +0100 Date: Sat, 07 Feb 2004 21:28:52 +0100 From: Didier Wiroth To: Joe Marcus Clarke Message-id: <9da8e08e.e08e9da8@etat.lu> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.14 (built Mar 18 2003) Content-type: multipart/mixed; boundary="Boundary_(ID_xXULU/gFwX9tFpfT0S51Kw)" Content-language: fr X-Accept-Language: fr Priority: normal cc: freebsd-questions@freebsd.org Subject: Re: vfs.usermount=1, bug? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Feb 2004 20:28:55 -0000 This is a multi-part message in MIME format. --Boundary_(ID_xXULU/gFwX9tFpfT0S51Kw) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline Damn, :-)) that was fast and correct answer: kldstat | grep ntfs 7 1 0xc7846000 c000 ntfs.ko Thanks --Boundary_(ID_xXULU/gFwX9tFpfT0S51Kw) Content-type: text/plain Content-transfer-encoding: 7BIT 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 --Boundary_(ID_xXULU/gFwX9tFpfT0S51Kw)--