--- check_log.sh 2002-10-28 13:05:07.000000000 +0000 +++ check_log.sh.new 2005-01-27 18:51:26.000000000 +0000 @@ -164,8 +164,8 @@ # If the source log file doesn't exist, exit -if [ ! -e $logfile ]; then - $ECHO "Log check error: Log file $logfile does not exist!\n" +if [ ! -r $logfile ]; then + $ECHO "Log check error: Log file $logfile does not exist or you do not have read permission!\n" exit $STATE_UNKNOWN fi