mirror of
https://github.com/rclone/rclone.git
synced 2024-11-07 09:04:52 +01:00
5638a3841f
Before this change, writing files to an `nfsmount` via Finder on macOS would cause critical errors, rendering `nfsmount` effectively unusable on macOS. This change fixes the issue so that writes via Finder should be possible. The issue was primarily caused by the handler's HandleLimit being set to -1. -1 is the correct default for a NullAuthHandler, but not for a CachingHandler, which interprets -1 not as "no limit" but as "no cache". This change sets a high default of 1000000, and gives the user control over it with a new --nfs-cache-handle-limit flag (available in both `serve nfs` and `nfsmount`. A minimum of 5 is enforced, as any lower than this will be insufficient to support directory listing. |
||
---|---|---|
.. | ||
dlna | ||
docker | ||
ftp | ||
http | ||
nfs | ||
proxy | ||
restic | ||
s3 | ||
servetest | ||
sftp | ||
webdav | ||
serve.go |