From owner-freebsd-questions@FreeBSD.ORG Fri Sep 14 20:02:09 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 AA4B316A420 for ; Fri, 14 Sep 2007 20:02:09 +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 7B52B13C442 for ; Fri, 14 Sep 2007 20:02:09 +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 813861CC97 for ; Fri, 14 Sep 2007 12:02:08 -0800 (AKDT) From: Mel To: freebsd-questions@freebsd.org Date: Fri, 14 Sep 2007 22:02:06 +0200 User-Agent: KMail/1.9.7 References: <200709111842.54740.cblasius@gmail.com> <200709131213.46496.fbsd.questions@rachie.is-a-geek.net> <200709131543.06172.cblasius@gmail.com> In-Reply-To: <200709131543.06172.cblasius@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200709142202.07178.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: Fri, 14 Sep 2007 20:02:09 -0000 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