Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262458AbVDXWGe (ORCPT ); Sun, 24 Apr 2005 18:06:34 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262459AbVDXWGe (ORCPT ); Sun, 24 Apr 2005 18:06:34 -0400 Received: from router.student.pw.edu.pl ([194.29.137.75]:42658 "EHLO router.student.pw.edu.pl") by vger.kernel.org with ESMTP id S262458AbVDXWGb (ORCPT ); Sun, 24 Apr 2005 18:06:31 -0400 Message-ID: <426C185C.1050204@genesilico.pl> Date: Mon, 25 Apr 2005 00:06:20 +0200 From: maciek User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: pl, en-us, en MIME-Version: 1.0 To: linux-kernel@vger.kernel.org Subject: Re: [PATCH] private mounts 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> In-Reply-To: <20050424214339.GD9304@mail.shareable.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1089 Lines: 43 Hi, Jamie Lokier napisaƂ(a): >Al Viro wrote: > > >>On Sun, Apr 24, 2005 at 11:15:35PM +0200, Miklos Szeredi wrote: >> >> >>>No. You can't set "mount environment" in scp. >>> >>> >>Of course you can. It does execute the obvious set of rc files. >> >> > >It doesn't work for the specified use-scenario. The reason is that >there is no command or system call that can be executed from those rc >files to join an existing namespace. > >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. > >-- Jamie > > Maybe, pam_mount would be the solution? http://www.flyn.org/projects/pam_mount/ it provides mounting a filesystem when logging in, and unmounting on exit, just set the mount options. Maciek Stopa - 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/