Re: [PATCH] private mounts

From: Miklos Szeredi
Date: Sun Apr 24 2005 - 16:17:28 EST


> > > 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/