From 3ae6de89c5fc18b5b133f91ef0955c8eec8546f4 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sat, 26 Feb 2022 16:38:08 +0100 Subject: =?UTF-8?q?Mention=20that=20interimap=20=E2=89=A40.5.6=20did=20hon?= =?UTF-8?q?or=20umask=20for=20DB=20creation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The commit message for 2447861913835637bbf49d96728ce9ac6ab0ae22 was misleading. DB creation does obey umask settings as of perl 5.34.0-3, libdbi-perl 1.643-3+b2, libdbd-sqlite3-perl 1.70-3+b1 and libsqlite3-0 3.37.2-2 from Debian Sid. Prefixing `make installcheck-interimap` with `umask 0077` makes the test suite pass for interimap 0.5.6-1. --- Changelog | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Changelog b/Changelog index 10db1a0..97283a5 100644 --- a/Changelog +++ b/Changelog @@ -1,9 +1,11 @@ interimap (0.5.7) upstream; * interimap: create database with mode 0600 (but don't change mode of - existing databases). The file was previously created with mode 0644, - but its directory had restricted mode 0700. pullimap, on the other - hand, already created state files with mode 0600. + existing databases). The file was previously created with mode 0644 + minus umask restrictions, which for permissive umask(2)s is too open. + That being said its parent directory is created with restricted mode + 0700 so the impact is limited. pullimap, on the other hand, already + used mode 0600 for state file creation. * Major Makefile refactoring: improve DESTDIR= handling, add new targets 'all-nodoc', 'install-nodoc', and 'installcheck'. Also, rename 'test' target to 'check'. -- cgit v1.2.3