projects
/
certmaster.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4575d4c
)
Set default umask to 077 intead of 0. Before files could be created
author
Adrian Likins
<alikins@redhat.com>
Fri, 24 Apr 2009 17:02:49 +0000
(13:02 -0400)
committer
Adrian Likins
<alikins@redhat.com>
Fri, 24 Apr 2009 17:17:11 +0000
(13:17 -0400)
as world writeable.
certmaster/utils.py
patch
|
blob
|
history
diff --git
a/certmaster/utils.py
b/certmaster/utils.py
index
773b0eb
..
58bf0db
100644
(file)
--- a/
certmaster/utils.py
+++ b/
certmaster/utils.py
@@
-57,7
+57,7
@@
def daemonize(pidfile=None):
sys.exit(0)
os.chdir("/")
os.setsid()
- os.umask(0)
+ os.umask(0
77
)
pid = os.fork()
os.close(0)