rclone/cmd/serve
nielash 5638a3841f serve nfs: fix writing files via Finder on macOS - fixes #7503
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.
2024-02-18 05:08:59 -05:00
..
dlna serve dlna: now only supported on go1.21 or later 2024-01-15 16:22:07 +00:00
docker systemd: Fix detection and switch to the coreos package everywhere 2023-12-02 14:17:15 +00:00
ftp rc: add srcFs and dstFs to core/stats and core/transferred stats 2024-02-02 11:43:10 +00:00
http rc: add srcFs and dstFs to core/stats and core/transferred stats 2024-02-02 11:43:10 +00:00
nfs serve nfs: fix writing files via Finder on macOS - fixes #7503 2024-02-18 05:08:59 -05:00
proxy docs: Fix broken test_proxy.py link again 2024-01-08 11:54:02 +00:00
restic serve restic: fix error handling 2024-01-29 17:54:23 +00:00
s3 serve s3: fix listing oddities 2024-01-05 15:51:13 +00:00
servetest build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
sftp serve sftp: return not supported error for not supported commands 2023-10-16 12:08:22 +01:00
webdav webdav: added an rclone vendor to work with rclone serve webdav 2023-11-05 12:37:25 +00:00
serve.go serve s3: let rclone act as an S3 compatible server 2023-11-16 16:59:55 +00:00