summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2008-08-28 22:57:39 -0700
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:28:20 -0800
commit14b2082ebf97130666e2841bb7653fdcadf584bd (patch)
tree882cd961f420066bf3b57244065bb604e95bf537 /debian/rules
parent2526c272fd267bb71314c4b2bf57227e480c25e6 (diff)
debian/rules: call chgrp *before* calling chmod, lest the sgid bit
on unix_chkpwd be cleared during the build when using -rsudo. Closes: #496983.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index dade1a29..edac90c2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -135,8 +135,8 @@ binary-arch: install
dh_strip -a
dh_compress -a
dh_fixperms -a
- chmod 02755 $(d)/libpam-modules/sbin/unix_chkpwd
chgrp shadow $(d)/libpam-modules/sbin/unix_chkpwd
+ chmod 02755 $(d)/libpam-modules/sbin/unix_chkpwd
dh_makeshlibs -plibpam0g -V "libpam0g (>= 0.99.10.0)"
dh_installdeb -a
dh_shlibdeps -a -L libpam0g -l$(CURDIR)/debian/libpam0g/lib