On 27/07/26 at 16:12, Eduardo M KALINOWSKI wrote:
I had to add -o no_contain_symlinks to a sshfs mount recently (even if the symlink containing .. pointed to a file inside the shared directory). Note that this option might allow access to files outside the shared directory.

Thanks it worked, I recently upgrade Trixie to 13.6 and in my log results that sshfs was updated:

root@itek:~# grep -i --color sshfs upgrade-trixie_1.script
  libixml11t64               libtdb1                        sshfs
Get:113 http://deb.debian.org/debian trixie/main amd64 sshfs amd64 3.7.3-1.2~deb13u1 [46.7 kB] Fetched 571 MB in 2min 56s (3240 kB/s)
Preparing to unpack .../90-sshfs_3.7.3-1.2~deb13u1_amd64.deb ...
Unpacking sshfs (3.7.3-1.2~deb13u1) over (3.7.3-1.1+b2) ...
Setting up sshfs (3.7.3-1.2~deb13u1) ...

earlier sshfs read all symlinks in that directory (/media/raspberrypi/etc/alternatives/). The ssh server is on old-old-stable version: "OpenSSH_8.4p1 Debian-5+deb11u6, OpenSSL 1.1.1w 11 Sep 2023".

Maybe some misbehavior it was introduced with the new version of sshfs.

Kind regards,
--
Franco Martelli

Reply via email to