Fixed /etc/sudoers permissions on deinstallation
[oomailing.git] / debian / postrm
index 257d192b5036bb8d726222ebd01b5b3f1ce180e6..40066810f4c890f4a018e74d7525d5876dbfc843 100644 (file)
@@ -22,6 +22,7 @@ case "$1" in
             deluser --remove-home oomailing
         fi
         grep -v mvoomail /etc/sudoers>/etc/sudoers.new
+        chmod 0440 /etc/sudoers.new
         mv /etc/sudoers.new /etc/sudoers
         ;;