From fc95bbc224ac890a34f3137b42555729be209b08 Mon Sep 17 00:00:00 2001 From: abd Date: Thu, 15 Feb 2007 11:48:16 +0000 Subject: [PATCH] Bug IPAL14904 Using obvious change rigth access to catalot $(TMPDIR)/logs --- bin/nameserver.py | 1 + bin/runNS.py | 1 + 2 files changed, 2 insertions(+) diff --git a/bin/nameserver.py b/bin/nameserver.py index 365068819..aacb59ed9 100755 --- a/bin/nameserver.py +++ b/bin/nameserver.py @@ -25,6 +25,7 @@ class NamingServer(Server): try: os.mkdir(os.environ["BaseDir"] + "/logs") + os.chmod(os.environ["BaseDir"] + "/logs", 0777) except: #print "Can't create " + os.environ["BaseDir"] + "/logs" pass diff --git a/bin/runNS.py b/bin/runNS.py index 22c5fb120..5af2c5af5 100755 --- a/bin/runNS.py +++ b/bin/runNS.py @@ -23,6 +23,7 @@ os.environ["Username"]=os.environ["USER"] def startOmni(): try: os.mkdir(os.environ["BaseDir"] + "/logs") + os.chmod(os.environ["BaseDir"] + "/logs", 0777) except: #print "Can't create " + os.environ["BaseDir"] + "/logs" pass -- 2.39.2