From mboxrd@z Thu Jan 1 00:00:00 1970 From: Helge Hafting Subject: Re: [PATCH] private mounts Date: Wed, 27 Apr 2005 11:14:35 +0200 Message-ID: <426F57FB.4020404@aitel.hist.no> References: <20050424201820.GA28428@infradead.org> <20050424205422.GK13052@parcelfarce.linux.theplanet.co.uk> <20050424210616.GM13052@parcelfarce.linux.theplanet.co.uk> <20050424211942.GN13052@parcelfarce.linux.theplanet.co.uk> <20050424214339.GD9304@mail.shareable.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Al Viro , Miklos Szeredi , hch@infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@osdl.org Return-path: Received: from hermine.aitel.hist.no ([158.38.50.15]:45063 "HELO hermine.aitel.hist.no") by vger.kernel.org with SMTP id S261249AbVD0JKA (ORCPT ); Wed, 27 Apr 2005 05:10:00 -0400 To: Jamie Lokier In-Reply-To: <20050424214339.GD9304@mail.shareable.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org Jamie Lokier wrote: > He wants to do this: > > 1. From client, login to server and do a usermount on $HOME/private. > > 2. From client, login to server and read the files previously mounted. > > This is works fine with plain "mount", except that the mount isn't hidden from others. Why hide it? Permissions can be used to prevent others from looking at the mounted stuff if need be. I.e. put the mountpoint in a directory not readable by others, or have the root of that fs unreadable by others. Helge Hafting