From: abd Date: Thu, 15 Feb 2007 11:48:16 +0000 (+0000) Subject: Bug IPAL14904 X-Git-Tag: V4_0a2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fc95bbc224ac890a34f3137b42555729be209b08;p=modules%2Fkernel.git Bug IPAL14904 Using obvious change rigth access to catalot $(TMPDIR)/logs --- 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