Create the archive readable by its owner only #5

Merged
jcoffey-dev merged 1 commits from fix/archive-permissions into main 2026-09-30 18:29:04 +00:00
1 Commits
Author SHA1 Message Date
jcoffey-dev 38d32811e4 Create the archive readable by its owner only
ci / test (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m32s
ci / announce (pull_request) Skipped
An archive holds a whole mailbox, its contacts and calendars, and it was
created with SQLite's default mode, readable by every user on the machine.
On Unix a new archive is now created with mode 0600 before SQLite opens it;
SQLite gives the -wal and -shm files the database file's mode, so they
follow, which a test confirms. An existing archive that others can read is
left as it is, with a warning naming it and the chmod that fixes it.
Nothing changes on Windows.
2026-09-30 11:26:18 -07:00