diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2014-04-28 19:48:33 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2014-04-28 19:48:33 +0200 |
commit | 21ada8a3481eb838d813cb54fab9e892058ebecd (patch) | |
tree | 03e3a48e9b6caa1bb8bdd462565578bb38bb7798 | |
parent | eeb4680557c5f3c99197c65bf67a1b884db78e70 (diff) | |
download | vyos-live-build-21ada8a3481eb838d813cb54fab9e892058ebecd.tar.gz vyos-live-build-21ada8a3481eb838d813cb54fab9e892058ebecd.zip |
Correcting os.chmod usage in lb init.
-rwxr-xr-x | components/init | 10 |
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) |