summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2009-03-03 17:13:52 -0800
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:28:57 -0800
commit91010abe4f6ff5c1b9eb9510a6e4956d98042733 (patch)
treed97a217f5ccc6c278fafc1891334848599c35ed2
parentfaeffabdeec78344132789e8a3a80f560e408d74 (diff)
pam-auth-update: set the umask, so we don't accidentally mark /etc/pam.d/common-* unreadable.
-rwxr-xr-xdebian/local/pam-auth-update2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update
index 5b6b21b1..bc42f21b 100755
--- a/debian/local/pam-auth-update
+++ b/debian/local/pam-auth-update
@@ -162,6 +162,8 @@ EOF
exit;
}
+umask(0022);
+
do {
@conflicts = ();
input($priority,$template);