mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 11:07:31 +01:00
* filer: check the read-only rule on the path a POST or PUT writes A write to an existing directory without a trailing slash stores the entry under it (the multipart file name, or the base name on PUT), but the read-only rule was only matched on the request path, so a rule on the directory's slash-terminated prefix did not apply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * filer: check the read-only rule on the copy destination entry Copying into an existing directory stores the entry under it, so match the read-only rule on that final path rather than only the request path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * filer: check the read-only rule on the path saveMetaData persists saveMetaData resolves the target path with its own directory lookup, so a directory created after the early check could still route the entry under a read-only prefix. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>