Commit 21ada8a3 authored by Daniel Baumann's avatar Daniel Baumann
Browse files

Correcting os.chmod usage in lb init.

parent eeb46805
......@@ -144,11 +144,11 @@ def main():
os.makedirs('config/includes.source', exist_ok=True)
# Ensure correct include directory permissions avoiding tainting of target system
os.chmod('config/includes', 0755)
os.chmod('config/includes.bootstrap', 0755)
os.chmod('config/includes.chroot', 0755)
os.chmod('config/includes.binary', 0755)
os.chmod('config/includes.source', 0755)
os.chmod('config/includes', 0o755)
os.chmod('config/includes.bootstrap', 0o755)
os.chmod('config/includes.chroot', 0o755)
os.chmod('config/includes.binary', 0o755)
os.chmod('config/includes.source', 0o755)
# Configuring default package lists
os.makedirs('config/package-lists', exist_ok=True)
......
Supports Markdown
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