From owner-freebsd-questions@FreeBSD.ORG Wed Sep 12 19:49:18 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 547E816A421 for ; Wed, 12 Sep 2007 19:49:18 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from snoogles.rachie.is-a-geek.net (66-230-99-27-cdsl-rb1.nwc.acsalaska.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 1CCEF13C478 for ; Wed, 12 Sep 2007 19:49:18 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (localhost [127.0.0.1]) by snoogles.rachie.is-a-geek.net (Postfix) with ESMTP id 5667A1CCDD for ; Wed, 12 Sep 2007 11:49:17 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Wed, 12 Sep 2007 21:49:15 +0200 User-Agent: KMail/1.9.7 References: <200709111842.54740.cblasius@gmail.com> In-Reply-To: <200709111842.54740.cblasius@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709122149.16214.fbsd.questions@rachie.is-a-geek.net> Subject: Re: mount_ntfs as normal user X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Sep 2007 19:49:18 -0000 On Tuesday 11 September 2007 18:42:53 Zbigniew Komarnicki wrote: > Hello, > > I'd like to ask that this scenario is correct, or my system is compromised > or somethin else? > > I have in /etc/sysctl.conf > vfs.usermount=1 > > The ntfs slice is > $ ls -ld /dev/ad0s1 > crw-r----- 1 root operator 0, 101 Sep 10 14:06 /dev/ad0s1 > > Next in my home directory create folder win > $ mkdir win > $ mount_ntfs /dev/ad0s1 win > $ ls win > here is the output > > $AttrDef* MSDOS.SYS* > $BadClus* NTDETECT.COM* > $Bitmap* Program Files/ > $Boot* RECYCLER/ > [...] > > but I am not in group 'operator', and I'm now as normal user (not 'root'). > Check it > $ id > uid=1001(zbigniew) gid=1001(zbigniew) groups=1001(zbigniew),0(wheel),1004 > (media) What is the output of: ls -al `which mount_ntfs` under your user id? -- Mel