- edited description
Permissions check fails
Issue #322
resolved
Permissions on file are 0644
-rw-rw-r-- 1 root root 265 Jan 30 15:56 /lib/systemd/system/firewall.service
Monit service:
check file firewall_systemd with path /lib/systemd/system/firewall.service
if failed permission 0644 then alert
if failed uid root then alert
if failed gid root then alert
if size < 200 then alert
Results in "Permission failed"
MMonit:
permission test failed for /lib/systemd/system/firewall.service [current permission 0664]
Comments (4)
-
reporter -
repo owner - changed status to resolved
It's just configuration issue, the permissions "-rw-rw-r--" are 0664, not 0644, i.e. the test should be:
if failed permission 0664 then alert
-
reporter Right, thank you. I was looking at it for too long ^^
-
repo owner - removed version
Removing version: 5.16 (automated comment)
- Log in to comment