monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: having monit change permissions


From: Guillaume François
Subject: Re: having monit change permissions
Date: Mon, 27 Jul 2015 09:46:01 +0200

Hello,

Yes, it is. One solution is to use the "exec" feature like

if failed permission 755 then exec "/bin/chmod 755 /path/to/your/file"

Best Regards,


2015-07-27 2:02 GMT+02:00 Rafael Torres <address@hidden>:
Is it possible to have monit, monitor a file for permission changes and if a change occurs change them back to the correct permission configuration?

Regards,

Rafael L. Torres Jr. MSIA, CISSP, S +, N+
1509 Lowell Ct.
Crofton, MD 21114
Cell: 757-876-1986

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general



--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT d(+) s++:- a C++$ ULC(+)>+++$ !P--- L+>$ !E---? W+++$ !N* !o-- K--? w(+) !O---? !M- !V--? PS+? !PE Y+ PGP++>+++ !t-- !5 !X- R(+)>++* tv-? b(-) DI !D- G(+)>+ e+++ h--() r->$ y?*
------END GEEK CODE BLOCK------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]