Re: Symlinks not accessible when mounting with sshfs
Franco Martelli <[email protected]> Mon, 27 Jul 2026 21:49:54 +0200
| Newsgroups | gmane.linux.debian.user |
|---|---|
| Message-ID | <[email protected]> |
On 27/07/26 at 16:51, nwe wrote: > I just ran into something like this recently. I sshfs mounted remote > directory /home/remote-user locally on /home/local-user/mnt > > > A symlink in the remote directory pointing at /usr/lib/my-app appeared > broken. I assumed this was a result of the symlink pointing outside of > the shared path. > > As I only temporarily needed to access it, my quick and dirty fix was to > copy the remote small directory /usr/lib/my-app into /home/remote-user/ > my-app then I could easily access those files over sshfs. After I was > finished, I deleted /home/remote-user/my-app > This isn't viable for me, I use sshfs to mount the root filesystem of a device for backup purpose, I cannot deal with copying a directory from /etc to other directory. Kind regards,