Correcting os.chmod usage in lb init.

This commit is contained in:
Daniel Baumann 2014-04-28 19:48:33 +02:00
parent eeb4680557
commit 21ada8a348
1 changed files with 5 additions and 5 deletions

View File

@ -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)