[projects/git-slug: 80/170] Change mask to more restrictive
glen
glen at pld-linux.org
Mon Sep 21 21:45:32 CEST 2015
commit 98a1be715c7318ef7e1e2163faab35043e735403
Author: Kacper Kornet <draenog at pld-linux.org>
Date: Mon Mar 12 18:18:41 2012 +0000
Change mask to more restrictive
Daemon/daemon.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Daemon/daemon.py b/Daemon/daemon.py
index 6c1cfbd..164f793 100644
--- a/Daemon/daemon.py
+++ b/Daemon/daemon.py
@@ -24,7 +24,7 @@ class daemon:
# decouple from parent environment
os.chdir('/')
os.setsid()
- os.umask(0
+ os.umask(0o033)
# do second fork
try:
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/git-slug.git/commitdiff/4ed64f73960519a2f4fd04c42950b2c96ae795c5
More information about the pld-cvs-commit
mailing list