]> git.seodisparate.com - SimpleArchiver/commit
Set umask on compression-temp-file
authorStephen Seo <seo.disparate@gmail.com>
Wed, 26 Feb 2025 09:42:45 +0000 (18:42 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Wed, 26 Feb 2025 09:42:45 +0000 (18:42 +0900)
commit2608eb4e1c5de6cfd30050a55df4ada31465e670
treedf6c355375c6a1233ffa5c1b846737c1ce772461
parent1fd5f36d4a3b481dbf116a92a89211a4de72b9a3
Set umask on compression-temp-file

Previous behavior created temp files (for compression) with default
permissions. This commit uses umask to keep only permissions for the
user and deny permissions to others (and restores the umask after
creation of the temp file).
src/helpers.c