Operation not permitted on rclone mount on macOS

What is the problem you are having with rclone?

After mounting an sshfs, ls says Operation not permitted but Finder works just fine.

Run the command 'rclone version' and share the full output of the command.

rclone v1.71.0

  • os/version: darwin 15.3.2 (64 bit)
  • os/kernel: 24.3.0 (arm64)
  • os/type: darwin
  • os/arch: arm64 (ARMv8 compatible)
  • go/version: go1.25.0
  • go/linking: dynamic
  • go/tags: cmount

I've macfuse installed, version: 5.0.5

Which cloud storage system are you using? (eg Google Drive)

sshfs

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount pi:/home/dietpi/immich/thumbs thumbs --allow-other --vfs-cache-mode full --umask=000 -vv  --log-file /tmp/rclone.log

The rclone config contents with secrets removed.

[pi]
type = sftp
host = XXX
user = XXX
key_file = ~/.ssh/id_ed25519
shell_type = unix
md5sum_command = md5sum
sha1sum_command = sha1sum

A log from the command with the -vv flag

rclone mount pi:/home/dietpi/immich/thumbs thumbs --allow-other --vfs-cache-mode full --umask=000 -vv  --log-file /tmp/rclone.log
2025/09/02 11:16:08 DEBUG : Setting --fast-list "false" from environment variable RCLONE_FAST_LIST="0"

Uninstall macfuse and install fuse-t. It works much better IMO and does not require any kext.

Also try to give your shell full disk access. I think by default it is off.

Thanks! This worked.
I removed macfuse in favour of fuse-t (not sure if it made a difference)

Adding iterm2 in Settings -> Privacy & Security -> Full Disk Acess fixed it !

As per this, needed to add sshd-keygen-wrapper as well but it was already there in my config.

1 Like

The biggest advantage is that it does not require kernel extensions (deprecated by Apple already) and lowering OS security in order to use it. Otherwise it is exactly the same functionality as macfuse.

1 Like

FWIW, that hasn’t been the case since v5 onwards. They now have a FSKit backend, which is even better than NFS and officially supported by Apple for mounting file systems.

It still seems to have some issues, which is why it’s not yet the default: FUSE Backends · macfuse/macfuse Wiki · GitHub

2 Likes

Good to know that. Hopefully one day they (and Apple) will iron all issues - as for now the list seems to be quite long. Always good to have some alternatives.