From 7b0ac497a4bd73b40b83d33490b9646eadfbc265 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Sun, 23 Mar 2025 17:10:39 +0100 Subject: On sshfs drops --- topics/systems/backup-drops.gmi | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/topics/systems/backup-drops.gmi b/topics/systems/backup-drops.gmi index a4677f7..564c139 100644 --- a/topics/systems/backup-drops.gmi +++ b/topics/systems/backup-drops.gmi @@ -98,7 +98,7 @@ Next ssh -v -i ~/.ssh/id_ecdsa_backup bacchus@dropserver ``` -should give a Broken pipe(!) or it says `This service allows sftp connections only`. +should give a Broken pipe(!) or -- more recently -- it says `This service allows sftp connections only`. When running sshd with a verbose switch you may see something like fatal: bad ownership or modes for chroot directory component "/export/backup/" @@ -121,6 +121,18 @@ chown bacchus.bacchus backup/bacchus/drop/ chmod 0700 backup/bacchus/drop/ ``` +Another error may be: + +``` +fusermount3: mount failed: Operation not permitted +``` + +This means you need to set the suid on the fusermount3 command. Bit nasty in Guix. + +``` +chmod 4755 /usr/bin/fusermount +``` + If auth.log says error: /dev/pts/11: No such file or directory on ssh, or received disconnect (...) disconnected by user we are good to go! Note: at this stage it may pay to track the system log with -- cgit v1.2.3