summaryrefslogtreecommitdiff
path: root/components/init
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-04-28 19:48:33 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2014-04-28 19:48:33 +0200
commit21ada8a3481eb838d813cb54fab9e892058ebecd (patch)
tree03e3a48e9b6caa1bb8bdd462565578bb38bb7798 /components/init
parenteeb4680557c5f3c99197c65bf67a1b884db78e70 (diff)
downloadvyos-live-build-21ada8a3481eb838d813cb54fab9e892058ebecd.tar.gz
vyos-live-build-21ada8a3481eb838d813cb54fab9e892058ebecd.zip
Correcting os.chmod usage in lb init.
Diffstat (limited to 'components/init')
-rwxr-xr-xcomponents/init10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/init b/components/init
index af90598cc..fcf5e06ed 100755
--- a/components/init
+++ b/components/init
@@ -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)