The temporary archive was chmodded to 0644, so replacing a private 0600 archive made it world-readable (QA-6). A replaced archive now keeps its permissions; a new one gets 0666 minus the umask, as before the temp-file change. The temp name embedded the archive name, so names near NAME_MAX failed with ENAMETOOLONG (QA-7). It is now a short fixed-length .vcom-tmp-<rand>. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| remote | ||
| archive.go | ||
| entry.go | ||
| ops.go | ||
| ops_test.go | ||
| preview.go | ||
| qa_archive_trash_test.go | ||
| qa_fixes_test.go | ||
| scan.go | ||