Commit graph

1 commit

Author SHA1 Message Date
vrubelroman
c3606d5873 fix(archive): keep permissions and support long names when replacing an archive
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>
2026-11-01 03:58:18 +03:00