Package: ax25-apps
Version: 0.0.6-10
Tags: patch

Postinst adds an statoverride if listen should be installed suid root
but does not update the actual permissions.

I suggest to use the --update param to statoverride.
--- postinst.orig       2005-08-05 22:05:34.270600304 +0200
+++ postinst    2005-08-05 22:08:33.753314784 +0200
@@ -31,7 +31,7 @@
        {
          # Try registering with dpkg-statoverride first
          if [ -x /usr/sbin/dpkg-statoverride ] ; then
-             /usr/sbin/dpkg-statoverride --add --force root root 4755 
/usr/bin/listen
+             /usr/sbin/dpkg-statoverride --update --add --force root root 4755 
/usr/bin/listen
          else
              # change program directly
              chmod 4755 /usr/bin/listen

Reply via email to