Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Sep 2007 21:49:15 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: mount_ntfs as normal user
Message-ID:  <200709122149.16214.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <200709111842.54740.cblasius@gmail.com>
References:  <200709111842.54740.cblasius@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709122149.16214.fbsd.questions>