--- extract.c.orig	2013-03-05 11:52:31.000000000 +0100
+++ extract.c	2013-03-05 12:05:02.000000000 +0100
@@ -50,6 +50,7 @@
 #include <dpkg/ar.h>
 #include <dpkg/deb-version.h>
 #include <dpkg/options.h>
+#include <dpkg/report.h>
 
 #include "dpkg-deb.h"
 
@@ -417,6 +418,8 @@
     badusage(_("--%s needs a target directory.\n"
                "Perhaps you should be using dpkg --install ?"),
              cipaction->olong);
+  else if (strcmp(dir,"/tmp") == 0 || strcmp(dir,"/tmp/") == 0)
+    warning(_("Are you sure ? , I will change /tmp directory perms ..."));
   else if (*argv)
     badusage(_("--%s takes at most two arguments (.deb and directory)"),
              cipaction->olong);
