Re: Symlinks not accessible when mounting with sshfs
Andy Smith <[email protected]> Mon, 27 Jul 2026 14:03:43 +0000
| Newsgroups | gmane.linux.debian.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, On Mon, Jul 27, 2026 at 03:44:17PM +0200, Franco Martelli wrote: > I've the following issue with sshfs while it doesn't happen when I login > using ssh: > > root@itek:~# sshfs rpi:/ /media/raspberrypi > root@itek:~# LC_ALL=C.UTF-8 ls -l -a -h > /media/raspberrypi/etc/alternatives/rsh > ls: cannot read symbolic link '/media/raspberrypi/etc/alternatives/rsh': > Operation not permitted Without the option "follow_symlinks" isn't it the case that sshfs can't follow symlinks at all? Also note that without the option "transform_symlinks", symlinks to absolute paths (such as all the ones in /etc/alternatives/) will be pointing to paths on your source system, not the paths they would ordinarily point to on the remote system. Thanks, Andy