Commit 395a45af authored by Yusei Tahara's avatar Yusei Tahara

Each shared part should be read-only.

parent 503f1b13
...@@ -445,6 +445,8 @@ class Recipe(object): ...@@ -445,6 +445,8 @@ class Recipe(object):
parts.append(self.options['default-location']) parts.append(self.options['default-location'])
self.fix_shebang(self.options['default-location']) self.fix_shebang(self.options['default-location'])
if self.options['shared']:
slapos.recipe.downloadunpacked.make_read_only_recursively(self.options['default-location'])
return parts return parts
def fix_shebang(self, location): def fix_shebang(self, location):
......
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