Commit b47523b3 authored by Yusei Tahara's avatar Yusei Tahara

slapos/grid/SlapObject.py: Set software release directory's permissions explicitly.

parent 8d29dd07
...@@ -246,6 +246,7 @@ class Software(object): ...@@ -246,6 +246,7 @@ class Software(object):
if not os.path.isdir(self.software_path): if not os.path.isdir(self.software_path):
os.mkdir(self.software_path) os.mkdir(self.software_path)
self._set_ownership(self.software_path) self._set_ownership(self.software_path)
os.chmod(self.software_path, 0o755)
extends_cache = tempfile.mkdtemp() extends_cache = tempfile.mkdtemp()
self._set_ownership(extends_cache) self._set_ownership(extends_cache)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment