From: Shaya Potter Subject: Re: changing permission()/vfs_permission... to work on dentry Date: 29 May 2003 00:20:23 -0400 Sender: linux-fsdevel-owner@vger.kernel.org Message-ID: <1054182023.10017.53.camel@zaphod> References: <20030529005549.GJ14138@parcelfarce.linux.theplanet.co.uk> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: linux-fsdevel@vger.kernel.org Return-path: Received: from opus.cs.columbia.edu ([128.59.20.100]:47048 "EHLO opus.cs.columbia.edu") by vger.kernel.org with ESMTP id S261783AbTE2EHq (ORCPT ); Thu, 29 May 2003 00:07:46 -0400 To: viro@parcelfarce.linux.theplanet.co.uk In-Reply-To: <20030529005549.GJ14138@parcelfarce.linux.theplanet.co.uk> List-Id: linux-fsdevel.vger.kernel.org On Wed, 2003-05-28 at 20:55, viro@parcelfarce.linux.theplanet.co.uk wrote: > So give it a _REAL_ namespace. And bind /dev/null over /bin/sh in it. > And revoke the capability to call mount(2) and umount(2). End of story. The issue w/ the fs namespaces the kernel supports (at least AFAI understand them) is that you can't change the underlying permission model. so for example, an "apache namespace" you might want it to only have read only access to everything besides a few files in /var/log. Can one do that w/ namespaces?