# HG changeset patch # User Michiel Broek # Date 1419587798 -3600 # Node ID 735fe1b89e5af38b80c6cb9b7d32809b9fc9e1cf # Parent 1d18ebb9e279e99198e45ae87a483ac3cc0a7cae Fixed wrong changes display when no real files were different diff -r 1d18ebb9e279 -r 735fe1b89e5a cron.daily/security --- a/cron.daily/security Tue Apr 15 14:45:38 2014 +0200 +++ b/cron.daily/security Fri Dec 26 10:56:38 2014 +0100 @@ -22,7 +22,7 @@ # Software Foundation, 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. ############################################################################# -VERSION=0.21 +VERSION=0.22 export PATH=/bin:/usr/bin:/sbin:/usr/sbin umask 077 LANG=C; export LANG diff -r 1d18ebb9e279 -r 735fe1b89e5a security.d/chk_setid --- a/security.d/chk_setid Tue Apr 15 14:45:38 2014 +0200 +++ b/security.d/chk_setid Fri Dec 26 10:56:38 2014 +0100 @@ -51,14 +51,14 @@ if [ ! -f $CURR ]; then # No database, install new database find $FSS \( -mount \( -perm -u+s -a ! -type d \) -o \( -perm -g+s -a ! -type d \) \) -print0 2>/dev/null | \ - xargs -0 /bin/ls -ld --full-time | sort -k9 > $CURR + xargs -0r /bin/ls -ld --full-time | sort -k9 > $CURR exit fi # Database is present, create temp database # find $FSS \( -mount \( -perm -u+s -a ! -type d \) -o \( -perm -g+s -a ! -type d \) \) -print0 2>/dev/null | \ - xargs -0 /bin/ls -ld --full-time | sort -k9 > $TMP1 + xargs -0r /bin/ls -ld --full-time | sort -k9 > $TMP1 changed=0 diff $TMP1 $CURR > $TMP2