mount_ntfs as normal user

Mel fbsd.questions at rachie.is-a-geek.net
Wed Sep 12 12:49:18 PDT 2007


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


More information about the freebsd-questions mailing list