Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

build: fix FUSE mount test failures on GitHub actions runners

Nick Craig-Woodbe6c689a682d
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 96586d411..61cb0aa17 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -165,6 +165,11 @@ jobs:
sudo chown root:$USER /etc/fuse.conf
sudo apt-get update
sudo apt-get install -y fuse3 libfuse-dev rpm pkg-config git-annex git-annex-remote-rclone nfs-common
+ # The podman static bundle in runner image ubuntu24/20260726.254 and
+ # later ships a non-setuid fusermount3 in /usr/local/bin which
+ # shadows the setuid one from the fuse3 package and breaks FUSE
+ # mounts with "Operation not permitted", so remove it.
+ sudo rm -f /usr/local/bin/fusermount /usr/local/bin/fusermount3
if: matrix.os == 'ubuntu-latest'
- name: Install Libraries on macOS