[Piuparts-commits] [SCM] piuparts git repository branch, piatti, updated. 0.45-75-g5fca52d
Andreas Beckmann
debian at abeckmann.de
Thu Jul 26 12:14:00 UTC 2012
The following commit has been merged in the piatti branch:
commit 41e5409e94c56ee06b136ae92f70000baeb6251d
Author: Andreas Beckmann <debian at abeckmann.de>
Date: Sat Jul 21 13:34:53 2012 +0200
p: change policy-rc.d permissions to 0755
Signed-off-by: Andreas Beckmann <debian at abeckmann.de>
diff --git a/piuparts.py b/piuparts.py
index 24a159a..2128398 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -942,7 +942,7 @@ class Chroot:
"""Create a policy-rc.d that prevents daemons from running."""
full_name = self.relative("usr/sbin/policy-rc.d")
create_file(full_name, "#!/bin/sh\nexit 101\n")
- os.chmod(full_name, 0777)
+ os.chmod(full_name, 0755)
logging.debug("Created policy-rc.d and chmodded it.")
def setup_minimal_chroot(self):
--
piuparts git repository
More information about the Piuparts-commits
mailing list