From 21ada8a3481eb838d813cb54fab9e892058ebecd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 28 Apr 2014 19:48:33 +0200 Subject: Correcting os.chmod usage in lb init. --- components/init | 10 +++++----- 1 file 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) -- cgit v1.2.3