From: Martin Matuška Date: Mon, 17 Nov 2025 19:26:35 +0000 (+0100) Subject: Merge pull request #2752 from KlaraSystems/des/safe-writes-umask X-Git-Tag: v3.8.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec3bcb46e06d2eaf815fa1440e6b86865c0c6876;p=thirdparty%2Flibarchive.git Merge pull request #2752 from KlaraSystems/des/safe-writes-umask Set umask before testing safe writes (cherry picked from commit 2caee6a37e844d54103d8c172527ef8bebfd2729) --- diff --git a/tar/test/test_option_safe_writes.c b/tar/test/test_option_safe_writes.c index d30b9a745..ee46923f2 100644 --- a/tar/test/test_option_safe_writes.c +++ b/tar/test/test_option_safe_writes.c @@ -8,6 +8,7 @@ DEFINE_TEST(test_option_safe_writes) { + assertUmask(0); /* Create files */ assertMakeDir("in", 0755); assertEqualInt(0, chdir("in"));