From 6a33d33fd003b6d2f2864d700beb04b466c138b2 Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 17 Aug 1999 05:12:36 +0000 Subject: [PATCH] r195: Initial Import --- autoscripts/postinst-suid | 2 +- debian/changelog | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) 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. -- 2.39.5