[Reproducible-commits] [disorderfs] 03/06: Clear umask so files are created with correct permissions

Andrew Ayer agwa at andrewayer.name
Fri Jun 10 04:01:28 UTC 2016


This is an automated email from the git hooks/post-receive script.

agwa-guest pushed a commit to branch debian
in repository disorderfs.

commit c2d4db1ec6d3ebc7ee68c51105bf31ebd8782c66
Author: Andrew Ayer <agwa at andrewayer.name>
Date:   Thu Jun 9 20:37:43 2016 -0700

    Clear umask so files are created with correct permissions
    
    Previously, the umask of the disorderfs process would interfere
    with the permissions of files created on the underlying filesystem
    by disorderfs.
    
    Closes: #826891
---
 disorderfs.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/disorderfs.cpp b/disorderfs.cpp
index 2f2c333..0895331 100644
--- a/disorderfs.cpp
+++ b/disorderfs.cpp
@@ -233,6 +233,7 @@ namespace {
 int	main (int argc, char** argv)
 {
 	signal(SIGPIPE, SIG_IGN);
+	umask(0);
 
 	/*
 	 * Parse command line options

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/disorderfs.git



More information about the Reproducible-commits mailing list