The error for a write the server refused, with the address's folder
listing fine, said the account couldn't write in that folder (/dav) -
but the write went to magpie's own folder inside it, and the listing
never proved anything about writing. On 坚果云 (Nutstore) the refusal
is usually the free tier's upload quota used up, which answers 403 on
a PUT with everything else fine (#4927), so the old text sent the user
to check a thing they can't check.
The error now looks at magpie's own folder first: there, the server
refused to change files in it, and the text says so and mentions the
quota; missing, the server refused to have magpie make it, and the
text says to make the folder by hand, or put an existing folder in
the address.
Review, changed from ggbdpq's patch: the folder is named with
path.Join(dir, folder). The patch's dir+"/"+folder said "//magpie"
for an address with no folder of its own (dir "/"). The test now
covers that address too. Broken by hand at the reviewed head:
dir+"/"+folder back, TestDAVWriteRefused red; dav.go reverted to its
parent, red; restored, green.
Run at the pushed tree (this stack of nine on origin/main 3c2dceb34),
on mote (macOS arm64, Go 1.26.8):
- go test -count=1 -timeout 45m ./internal/catalog/...
./internal/plugin/... ./internal/davsync/... ./internal/gateway/...:
catalog, plugin and davsync ok; gateway red on one test only,
TestCodexPoolSaysTheClientsVersion, the open #4807 (another test's
Codex identity reaches it in a full package run). It passes run
alone at this tree, 3 of 3.
- go vet ./... (darwin); GOOS=linux and GOOS=windows go vet -tags
nogui ./...: ok. gofmt -l on every tracked .go file: clean.
- The hand breaks above ran on this stack before its rebase onto
3c2dceb34. That commit changed member.go only, nothing these tests
reach.
Not tried: the GUI suite, since no GUI file changed. Windows and Linux
test runs (the Claude bridge tests use a shell fake and skip on
Windows). No real vendor, Claude Code or network was used; every
case runs against fakes.
Generated-by: GLM-5.3-Flash (ZCode)