Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262435AbVDXVQR (ORCPT ); Sun, 24 Apr 2005 17:16:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262434AbVDXVQR (ORCPT ); Sun, 24 Apr 2005 17:16:17 -0400 Received: from rev.193.226.232.93.euroweb.hu ([193.226.232.93]:48281 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S262431AbVDXVQJ (ORCPT ); Sun, 24 Apr 2005 17:16:09 -0400 To: viro@parcelfarce.linux.theplanet.co.uk CC: hch@infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@osdl.org In-reply-to: <20050424210616.GM13052@parcelfarce.linux.theplanet.co.uk> (message from Al Viro on Sun, 24 Apr 2005 22:06:16 +0100) Subject: Re: [PATCH] private mounts References: <20050424201820.GA28428@infradead.org> <20050424205422.GK13052@parcelfarce.linux.theplanet.co.uk> <20050424210616.GM13052@parcelfarce.linux.theplanet.co.uk> Message-Id: From: Miklos Szeredi Date: Sun, 24 Apr 2005 23:15:35 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1183 Lines: 33 > > > I believe the point is: > > > > > > 1. Person is logged from client Y to server X, and mounts something on > > > $HOME/mnt/private (that's on X). > > > > > > 2. On client Y, person does "scp X:mnt/private/secrets.txt ." > > > and wants it to work. > > > > > > The second operation is a separate login to the first. > > > > Solution? > > ... is the same as for the same question with "set of mounts" replaced > with "environment variables". No. You can't set "mount environment" in scp. Otherwise your analogy is nice, but misses a few points. The usage of mounts that we are talking about is much more dynamic than usage of environment variables. You wouldn't want to set an environment variable in all your shells just to access a remote system though sshfs for example. It _is_ possible (except the ftp, scp case) but _very_ inconvenient. I ask again, what solution would you suggest? 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/