Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261267AbVD0Ium (ORCPT ); Wed, 27 Apr 2005 04:50:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261207AbVD0Iul (ORCPT ); Wed, 27 Apr 2005 04:50:41 -0400 Received: from rev.193.226.232.93.euroweb.hu ([193.226.232.93]:36515 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S261190AbVD0Iub (ORCPT ); Wed, 27 Apr 2005 04:50:31 -0400 To: pavel@ucw.cz CC: hch@infradead.org, jamie@shareable.org, linuxram@us.ibm.com, 7eggert@gmx.de, bulb@ucw.cz, viro@parcelfarce.linux.theplanet.co.uk, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@osdl.org In-reply-to: <20050426201411.GA20109@elf.ucw.cz> (message from Pavel Machek on Tue, 26 Apr 2005 22:14:11 +0200) Subject: Re: [PATCH] private mounts References: <1114445923.4480.94.camel@localhost> <20050425191015.GC28294@mail.shareable.org> <20050426091921.GA29810@infradead.org> <20050426093628.GA30208@infradead.org> <20050426094727.GA30379@infradead.org> <20050426131943.GC2226@openzaurus.ucw.cz> <20050426201411.GA20109@elf.ucw.cz> Message-Id: From: Miklos Szeredi Date: Wed, 27 Apr 2005 10:49:28 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1017 Lines: 31 > > > Could we get root-only fuse in, please? > > > > chmod u-s /usr/bin/fusermount > > :-)))). I meant merging patches that are not controversial into > mainline. AFAICT only controversial pieces are "make it safe for > non-root users"... This is the controversial part in all it's glory: if (!(fc->flags & FUSE_ALLOW_OTHER) && current->fsuid != fc->user_id) return -EACCES; Leaving it out would gain us what exactly? I'm not trying to say that this is somehow better than the pam+shared-subtrees solution discuseed. That certainly has advantages over this (e.g. suid programs get permission to fuse mounted filesystems). But leaving it out makes no sense. Zero, zilch, none. Maybe I'm totally dumb, but I just don't get Christoph's argument. Thanks, Miklos - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/