Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Sep 2007 22:02:06 +0200
From:      Mel <fbsd.questions@rachie.is-a-geek.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: mount_ntfs as normal user
Message-ID:  <200709142202.07178.fbsd.questions@rachie.is-a-geek.net>
In-Reply-To: <200709131543.06172.cblasius@gmail.com>
References:  <200709111842.54740.cblasius@gmail.com> <200709131213.46496.fbsd.questions@rachie.is-a-geek.net> <200709131543.06172.cblasius@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 September 2007 15:43:05 Zbigniew Komarnicki wrote:
> On Thursday 13 of September 2007 12:13:46 Mel wrote:
> > Well, that kills that. Only thing I could think of is setuid mount_ntfs.
> > It's really weird, cause I can't get ntfs to mount under normal userid
> > even with correct permissions. What you can do shouldn't be possible for
> > 2 or 3 reasons. I wonder if it's just ntfs, can you mount another
> > partition as normal user? Like, unmount /usr and remount as normal user
> > or if you have a less busy partition like /data or whatever.
>
> Yes, this is only for ntfs.
> For ufs or msdosfs partitions (slices) it is not posible.
> Only ntfs I can mount and unmount as normal user.
>
> What I should to do with ntfs_mount? Remove the setuid?

The ls didn't list a setuid (you would see -r-sr-x-r-x), I would expect it to 
for this behavior to occur. I have no idea how this is possible and would see 
it as security risk if you're not the only user of the machine.

-- 
Mel



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