Re: Symlinks not accessible when mounting with sshfs

nwe <[email protected]> Mon, 27 Jul 2026 09:51:54 -0500
Newsgroups gmane.linux.debian.user
Message-ID <[email protected]>
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