I am wondering how can we monitor the permission on char
file using monit application
I have below char
and below monitrc config
check file dev_null with path /dev/null
if failed permission 666 then exec "chmod 666 /dev/null" as uid root and gid wheel
But it doesn't seems to work when file /dev/null has permission 600
I really appreciate any help on that.