From b3e7a16265e7c6c3b6892b9ec8a787d692ced6e6 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 2 Feb 2018 19:14:09 +0100 Subject: ensure correct file permissions for auxfiles MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The interesting takeaway here is perhaps that 'chmod +w' is effected by the umask – obvious in hindsight of course. The usual setup helps with hiding that applying that recursively on all directories (and files) isn't correct. Ensuring files will not be stored with the wrong permissions even if in strange umask contexts is trivial in comparison. Fixing the test also highlighted that it wasn't bulletproof as apt will automatically fix the permissions of the directories it works with, so for this test we actually need to introduce a shortcut in the code. Reported-By: Ubuntu autopkgtest CI --- doc/examples/configure-index | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/examples') diff --git a/doc/examples/configure-index b/doc/examples/configure-index index b5a0b5657..00c2ee183 100644 --- a/doc/examples/configure-index +++ b/doc/examples/configure-index @@ -536,6 +536,7 @@ Debug EDSP::WriteSolution ""; InstallProgress::Fancy ""; APT::Progress::PackageManagerFd ""; + SetupAPTPartialDirectory::AssumeGood ""; }; pkgCacheGen -- cgit v1.2.3