From: joey Date: Tue, 17 Aug 1999 05:12:36 +0000 (+0000) Subject: r195: Initial Import X-Git-Tag: debian_version_0_1~49 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=6a33d33fd003b6d2f2864d700beb04b466c138b2;p=debhelper.git r195: Initial Import --- diff --git a/autoscripts/postinst-suid b/autoscripts/postinst-suid index de638ef..83f2f09 100644 --- a/autoscripts/postinst-suid +++ b/autoscripts/postinst-suid @@ -1,6 +1,6 @@ if command -v suidregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then suidregister -s #PACKAGE# /#FILE# #OWNER# #GROUP# #PERMS# -else +elif [ -e #FILE# ]; then chown #OWNER#.#GROUP# /#FILE# chmod #PERMS# /#FILE# fi diff --git a/debian/changelog b/debian/changelog index 846eadf..2ece625 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +debhelper (1.2.56) unstable; urgency=low + + * dh_suidregister: make the chown/chmod only happen if the file actually + exists. This is useful if you have conffiles that have permissions and + may be deleted. (#35845) + + -- Joey Hess Sat, 10 Apr 1999 13:35:23 -0700 + debhelper (1.2.55) unstable; urgency=low * Various man page enhancements.