summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2009-03-03 17:15:00 -0800
committerSteve Langasek <vorlon@debian.org>2019-01-08 18:44:02 -0800
commitd262a04c3e1c5fccb05ea6e1f749068d5e064a02 (patch)
treec20cbeab90ae73b0539940c00f491948db93ae08 /debian
parenta0c6def57d9d9788a157873b382f2d47d707a904 (diff)
parent91010abe4f6ff5c1b9eb9510a6e4956d98042733 (diff)
pam-auth-update: set the umask, so we don't accidentally mark
/etc/pam.d/common-* unreadable. Thanks to Martin Krafft for catching. Closes: #518042.
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog3
-rwxr-xr-xdebian/local/pam-auth-update2
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 9f024978..ee1638a0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,9 @@ pam (1.0.1-7) UNRELEASED; urgency=low
limits for root. Thanks to Jonathan Marsden.
* pam-auth-update: swap out known md5sums from intrepid pre-release
versions with the md5sums from the released intrepid version
+ * pam-auth-update: set the umask, so we don't accidentally mark
+ /etc/pam.d/common-* unreadable. Thanks to Martin Krafft for catching.
+ Closes: #518042.
-- Steve Langasek <vorlon@debian.org> Mon, 02 Mar 2009 01:07:43 -0800
diff --git a/debian/local/pam-auth-update b/debian/local/pam-auth-update
index 3aabe113..42690850 100755
--- a/debian/local/pam-auth-update
+++ b/debian/local/pam-auth-update
@@ -163,6 +163,8 @@ EOF
exit;
}
+umask(0022);
+
do {
@conflicts = ();
input($priority,$template);