summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-09-23 14:58:26 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-09-23 14:58:26 +0000
commitf29a45fb753ec1f8883d66107ea25a4545a5e0d1 (patch)
tree5757e836ecba22ad68fe5e4120cc81408a4b4689
parent673ad8f4936409a83d8f9fffd9da0f93d249364a (diff)
downloadbcfg2-f29a45fb753ec1f8883d66107ea25a4545a5e0d1.tar.gz
bcfg2-f29a45fb753ec1f8883d66107ea25a4545a5e0d1.tar.bz2
bcfg2-f29a45fb753ec1f8883d66107ea25a4545a5e0d1.zip
Component: remove unneeded call to umask (Resolves Ticket #714)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5455 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--src/lib/Component.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/Component.py b/src/lib/Component.py
index e061a12bc..3842a1922 100644
--- a/src/lib/Component.py
+++ b/src/lib/Component.py
@@ -51,7 +51,6 @@ def run_component (component_cls, location, daemon, pidfile_name, argv=None,
os.dup2(redirect_file.fileno(), sys.__stderr__.fileno())
os.chdir(os.sep)
- os.umask(0)
pidfile = open(pidfile_name or "/dev/null", "w")
print >> pidfile, os.getpid()