[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Fwd: Bug#321497: listen is not set suid root in postinst]



Anyone want to take care of this?

Thanks,
Joop PG4I
--- Begin Message ---
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

--- End Message ---

Reply to: