Show warning for writable configuration file

This commit is contained in:
mboelen 2015-12-22 16:01:30 +01:00
parent 6520400ca4
commit ae6ca56581
1 changed files with 1 additions and 3 deletions

View File

@ -450,11 +450,9 @@ wait_for_keypress
if [ -f ${FILE} ]; then
LogText "Result: found ${FILE}"
if IsWorldWritable ${FILE}; then
echo $?
echo "File ${FILE} is writable!!!!"
ReportWarning "${TEST_NO}" "Found world writable configuration file"
fi
Report "ntp_config_file[]=${FILE}"
fi
done
fi