[Piuparts-commits] [piuparts] 01/01: p: set permissions on /etc/resolv.conf to 0644
Holger Levsen
holger at layer-acht.org
Fri Jan 13 15:28:59 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch develop
in repository piuparts.
commit 4df35ed5d410ffc4968e6fde7141f397ac183cb4
Author: Andreas Beckmann <anbe at debian.org>
Date: Thu Jan 12 22:15:06 2017 +0100
p: set permissions on /etc/resolv.conf to 0644
Signed-off-by: Andreas Beckmann <anbe at debian.org>
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
piuparts.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/piuparts.py b/piuparts.py
index ef22856..9988bba 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -1008,6 +1008,7 @@ class Chroot:
if line.strip() and not line.startswith(('#', ';')):
resolvconf += line.strip() + '\n'
create_file(full_name, resolvconf)
+ os.chmod(full_name, 0o644)
logging.debug("Created resolv.conf.")
def setup_minimal_chroot(self):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git
More information about the Piuparts-commits
mailing list