From 14b2082ebf97130666e2841bb7653fdcadf584bd Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Thu, 28 Aug 2008 22:57:39 -0700 Subject: debian/rules: call chgrp *before* calling chmod, lest the sgid bit on unix_chkpwd be cleared during the build when using -rsudo. Closes: #496983. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'debian/rules') 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 -- cgit v1.2.3