Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  login

Just don't create a file called -rf. :-) -- Larry Wall in <11393@jpl-devvax.JPL.NASA.GOV>


devel / comp.security.ssh / Re: Sshfs: follow remote machine links, not local ones

SubjectAuthor
* Sshfs: follow remote machine links, not local onesOttavio Caruso
+- Re: Sshfs: follow remote machine links, not local onesWilliam Unruh
`- Re: Sshfs: follow remote machine links, not local onesDale Dellutri

1
Sshfs: follow remote machine links, not local ones
  comp.security.ssh
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: ottavio2...@yahoo.com (Ottavio Caruso)
Newsgroups: comp.security.ssh
Subject: Sshfs: follow remote machine links, not local ones
Date: Tue, 22 Nov 2022 10:12:47 +0000
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <tli7av$2l9e$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 22 Nov 2022 10:12:47 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="955fef241834d5f370b99ff63ebf4bf1";
logging-data="87342"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19/HU3328TQ5ZXdZxtZrC3ietIJWJWKxDI="
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101
Firefox/102.0
Cancel-Lock: sha1:xUmQFzPB9/2+dQGru4JRJq0K88I=
X-No-Archive: yes
Content-Language: en-GB
Xref: rslight2 comp.security.ssh:292
 by: Ottavio Caruso - Tue, 22 Nov 2022 10:12 UTC

Hi,

I have an almost identical Debian installation on two Thinkpads. One is
my mobile workhorse (trem), the other my almost dead laptop that I use
at home as quasi-desktop (tloc).

On tlocal, I do:

$ sshfs -C 192.168.1.100: ~/trem

and it correctly mounts my remote home dir at ~/trem

On both machines, I have two symlinks:

Documents -> /home/oc/storage/Documents/
Downloads -> /home/oc/storage/Downloads/

(I must keep these simlinks for compatibility with 1000s of documents
and scripts)

So, when I try to access ~/trem/Downloads or
~/trem/Documents

all I see is the contents of the local machine symlinks, because of
symlink loops.

Is there anything I can do about it without changing the filesystem layout?

--
Ottavio Caruso

Re: Sshfs: follow remote machine links, not local ones
  comp.security.ssh
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: unr...@invalid.ca (William Unruh)
Newsgroups: comp.security.ssh
Subject: Re: Sshfs: follow remote machine links, not local ones
Date: Tue, 22 Nov 2022 17:41:37 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 47
Message-ID: <tlj1kh$4s8k$1@dont-email.me>
References: <tli7av$2l9e$1@dont-email.me>
Injection-Date: Tue, 22 Nov 2022 17:41:37 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="14819f84b178c8be65caee25d687bf6b";
logging-data="160020"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18zRZT2+4OeE84LRjf8hC5d"
User-Agent: slrn/1.0.3 (Linux)
Cancel-Lock: sha1:BSPdWAfFgwqojCQ5sOZd5zEJnDA=
Xref: rslight2 comp.security.ssh:293
 by: William Unruh - Tue, 22 Nov 2022 17:41 UTC

On 2022-11-22, Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> wrote:
> Hi,
>
> I have an almost identical Debian installation on two Thinkpads. One is
> my mobile workhorse (trem), the other my almost dead laptop that I use
> at home as quasi-desktop (tloc).
>
>
> On tlocal, I do:
>
> $ sshfs -C 192.168.1.100: ~/trem

Why don't you use nfs rather than sshfs?
>
> and it correctly mounts my remote home dir at ~/trem
>
> On both machines, I have two symlinks:
>
> Documents -> /home/oc/storage/Documents/
> Downloads -> /home/oc/storage/Downloads/

In what directory are those symlinks? Are /home/oc/storage/Do* symlinks?
>
> (I must keep these simlinks for compatibility with 1000s of documents
> and scripts)
>
> So, when I try to access ~/trem/Downloads or
> ~/trem/Documents

access how?
ls ~trem/Downloads ?

>
> all I see is the contents of the local machine symlinks, because of
> symlink loops.

No idea what that means? What "local machine symlinks"? What symlink
loops?

You do know that none of use have access to your system nor are any of
us mindreaders, so you have to describe things in words, not assumptions.
>
> Is there anything I can do about it without changing the filesystem layout?
>
>
>

Re: Sshfs: follow remote machine links, not local ones
  comp.security.ssh
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!.POSTED.panix3.panix.com!not-for-mail
From: daQQ...@panQQQix.com (Dale Dellutri)
Newsgroups: comp.security.ssh
Subject: Re: Sshfs: follow remote machine links, not local ones
Date: Tue, 22 Nov 2022 18:04:58 -0000 (UTC)
Organization: PANIX Public Access Internet and UNIX, NYC
Message-ID: <tlj30a$cce$1@reader2.panix.com>
References: <tli7av$2l9e$1@dont-email.me>
Injection-Date: Tue, 22 Nov 2022 18:04:58 -0000 (UTC)
Injection-Info: reader2.panix.com; posting-host="panix3.panix.com:166.84.1.3";
logging-data="12686"; mail-complaints-to="abuse@panix.com"
User-Agent: tin/2.6.0-20210823 ("Coleburn") (NetBSD/9.3 (amd64))
Xref: rslight2 comp.security.ssh:294
 by: Dale Dellutri - Tue, 22 Nov 2022 18:04 UTC

On Tue, 22 Nov 2022 05:12:47, Ottavio Caruso <ottavio2006-usenet2012@yahoo.com> wrote:
> Hi,
>
> I have an almost identical Debian installation on two Thinkpads. One is
> my mobile workhorse (trem), the other my almost dead laptop that I use
> at home as quasi-desktop (tloc).
>
>
> On tlocal, I do:
>
> $ sshfs -C 192.168.1.100: ~/trem
>
> and it correctly mounts my remote home dir at ~/trem
>
> On both machines, I have two symlinks:
>
> Documents -> /home/oc/storage/Documents/
> Downloads -> /home/oc/storage/Downloads/
>
> (I must keep these simlinks for compatibility with 1000s of documents
> and scripts)
>
> So, when I try to access ~/trem/Downloads or
> ~/trem/Documents
>
> all I see is the contents of the local machine symlinks, because of
> symlink loops.
>
> Is there anything I can do about it without changing the filesystem layout?

I'll assume that these are soft links, and the links are in /home/oc/

If that's true, perhaps change the symlink to, for example:
Documents -> ./storage/Documents

Would that work?

(If the symlinks are in /home/oc/storage, you don't need a symlink.)

--
Dale Dellutri <daQQQle@panQQQix.com> (lose the Q's)

1
server_pubkey.txt

rocksolid light 0.9.1
clearnet tor