[Reproducible-commits] [misc] 01/01: prebuilder: fix umask variation
Jérémy Bobbio
lunar at moszumanska.debian.org
Tue Sep 15 18:06:47 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository misc.
commit 0ef9ad6662f1370747ed4573213cf9c72af90d74
Author: Jérémy Bobbio <lunar at debian.org>
Date: Tue Sep 15 20:04:09 2015 +0200
prebuilder: fix umask variation
---
prebuilder/pbuilderhooks/A02_user | 2 ++
prebuilder/pbuilderrc.rebuild | 4 ----
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/prebuilder/pbuilderhooks/A02_user b/prebuilder/pbuilderhooks/A02_user
index bd81617..f1fc28e 100755
--- a/prebuilder/pbuilderhooks/A02_user
+++ b/prebuilder/pbuilderhooks/A02_user
@@ -13,6 +13,8 @@ chown -R "$NEWUID:$NEWGID" /tmp/buildd
apt-get install sudo
cat >/etc/sudoers.d/pbuser <<EOF
+Defaults umask=0002
+Defaults umask_override
pbuilder ALL=(another-user:another-group) NOPASSWD: ALL
EOF
diff --git a/prebuilder/pbuilderrc.rebuild b/prebuilder/pbuilderrc.rebuild
index d957093..5255bf9 100644
--- a/prebuilder/pbuilderrc.rebuild
+++ b/prebuilder/pbuilderrc.rebuild
@@ -1,7 +1,3 @@
-umask 0002
-
-#BUILDUSERID=2222
-#BUILDUSERNAME=pbuilder2
export TZ="/usr/share/zoneinfo/Etc/GMT-14"
export LANG="fr_CH.UTF-8"
export LC_ALL="fr_CH.UTF-8"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git
More information about the Reproducible-commits
mailing list