]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Bug IPAL14904
authorabd <abd@opencascade.com>
Thu, 15 Feb 2007 11:48:16 +0000 (11:48 +0000)
committerabd <abd@opencascade.com>
Thu, 15 Feb 2007 11:48:16 +0000 (11:48 +0000)
Using obvious change rigth access to catalot $(TMPDIR)/logs

bin/nameserver.py
bin/runNS.py

index 36506881989a12c6fc05f36e93c38f9f932ea60e..aacb59ed9bdb52be8c255033e0f0e2a89cdd613e 100755 (executable)
@@ -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
index 22c5fb1206fd730f27103accd4f79fe41be918bf..5af2c5af5b31f4ec5cd475787f0873b0f0fe350f 100755 (executable)
@@ -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