From owner-freebsd-questions@FreeBSD.ORG Sat Feb 7 12:18:32 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 9215216A4CE; Sat, 7 Feb 2004 12:18:32 -0800 (PST) Received: from postino-1.etat.lu (postino-1.etat.lu [194.154.205.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6066143D1D; Sat, 7 Feb 2004 12:18:32 -0800 (PST) (envelope-from didier.wiroth@mcesr.etat.lu) Received: from avirus-1.cie.etat.lu (dispatch-1.cie.etat.lu [148.110.137.6]) by postino-1.etat.lu (Postfix) with ESMTP id 4EC1D433B00; Sat, 7 Feb 2004 21:18:31 +0100 (CET) Received: from avirus-1.cie.etat.lu (dispatch-1.cie.etat.lu [148.110.137.6]) by localhost (CIE ESMTP Dispatch 1) with ESMTP id 38389B0; Sat, 7 Feb 2004 21:18:31 +0100 (CET) Received: from hermes-2 (hermes-2.cie.etat.lu [148.110.136.57]) by dispatch-1.cie.etat.lu (CIE ESMTP Dispatch 1) with ESMTP id 2641DAE; Sat, 7 Feb 2004 21:18:31 +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>; Sat, 07 Feb 2004 21:18:31 +0100 (MET) Received: from etat.lu (mail.etat.lu [148.110.136.60])18 2003)) with ESMTP id <0HSQ005HWDQUHO@mail.etat.lu>; Sat, 07 Feb 2004 21:18:30 +0100 (MET) Received: from [192.168.1.74] by mail.etat.lu (mshttpd); Sat, 07 Feb 2004 21:18:30 +0100 Date: Sat, 07 Feb 2004 21:18:30 +0100 From: Didier Wiroth To: freebsd-questions@freebsd.org Message-id: MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.14 (built Mar 18 2003) Content-type: text/plain; charset=us-ascii Content-language: fr Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: fr Priority: normal cc: freebsd-current@freebsd.org Subject: 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:18:32 -0000 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?! Thx