]> git.donarmstrong.com Git - debhelper.git/commitdiff
r195: Initial Import
authorjoey <joey>
Tue, 17 Aug 1999 05:12:36 +0000 (05:12 +0000)
committerjoey <joey>
Tue, 17 Aug 1999 05:12:36 +0000 (05:12 +0000)
autoscripts/postinst-suid
debian/changelog

index de638efe0fe5523476db030c568feea103f84f88..83f2f09f821386cf6325652d2606753e32fbbfe2 100644 (file)
@@ -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
index 846eadf90b4a75529de4e8c83ef1ad27e5fce72a..2ece62584ad04b0b29cfc0c6dc47a87ed7dccd53 100644 (file)
@@ -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 <joeyh@master.debian.org>  Sat, 10 Apr 1999 13:35:23 -0700
+
 debhelper (1.2.55) unstable; urgency=low
 
   * Various man page enhancements.