rclone: Microsoft Office apps can't write on an S3 mount when mounted with nfsmount on MacOS 14.5

What is the problem you are having with rclone?

I started using the nfsmount option to mount Amazon S3 drives because it is very problematic to give the proper permissons for the kernel extensions for MacFuse when dealing with remote computers. At first, I thought that the nfs mount worked perfectly. It does, but then I realized that Microsoft Office apps Word, Excel, Powerpoint, can NOT write on the mounted drive. They can only read. All other apps on my Mac can write on the mounted drive, just not the Microsoft apps, which is very weird. I tried playing with these options:

–vfs-cache-mode –dir-perms –file-perms

But nothing worked. This makes using Rclone very problematic for us because most of us use MS Office daily. The way we go around it now is to, save the file locally, and then move it to the mounted drive, or vice versa. Definitely not ideal!

What is your rclone version (output from rclone version)

1.67.0

Which OS you are using and how many bits (e.g. Windows 7, 64 bit)

Mac OS Sonoma 14.5, 64 bit, M chip

Which cloud storage system are you using? (e.g. Google Drive)

Amazon S3

The command you were trying to run (e.g. rclone copy /tmp remote:tmp)

rclone nfsmount s3:7c-users/acamastra ~$USER/rClone/files/user-files -vv
–vfs-cache-mode full
–vfs-cache-max-size 10G
–vfs-cache-max-age 9999h
–dir-cache-time 9999h
–vfs-refresh
–vfs-fast-fingerprint
–volname Antoinettes-Files \

A log from the command with the -vv flag (e.g. output from rclone -vv copy /tmp remote:tmp)

I tried to open the file “test.docx” and write to it, but couldn’t. Here is the log file:

Terminal Saved Output.txt

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don’t comment if you have no relevant information to add. It’s just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 46 (40 by maintainers)

Commits related to this issue

Most upvoted comments

I don’t think we have that problem. The nfs library has a file handle cache which solves it. We recently implemented an on disk file handle cache too for getting the file handles to persist between revive restarts. It is a real problem though as rclone files don’t have an inode number so we have to make one up. The symptoms when it goes wrong are usually stale NFS handle errors.

(NFS calls the unique IDs for files “file handles”. These are usually made from the inode number (another unique id for each file on the disk filing system) but they don’t have to be)

Remove MacFUSE (if you have it), install FUSE-T (available via brew) and use rclone mount. It is kext-less and under the hood it uses nfs, the same as rclone nfsmount but from my experience is more stable and compliant (it uses macOS nfs server and not some home brewed implementation). At least for me no problem with opening and writing MS Office docs.

Worked like a charm! Thanks @kapitainsky!

Remove MacFUSE (if you have it), install FUSE-T (available via brew) and use rclone mount. It is kext-less and under the hood it uses nfs, the same as rclone nfsmount but from my experience is more stable and compliant (it uses macOS nfs server and not some home brewed implementation). At least for me no problem with opening and writing MS Office docs.