diff options
Diffstat (limited to 'components/init')
-rwxr-xr-x | components/init | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/components/init b/components/init index 424832866..af90598cc 100755 --- a/components/init +++ b/components/init @@ -143,6 +143,13 @@ def main(): os.makedirs('config/includes.binary', exist_ok=True) 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) + # Configuring default package lists os.makedirs('config/package-lists', exist_ok=True) |