I thought directories supported the same monitors as files so you could check for mode=777, for example. However, the man page seems to contradict this.
=G=
From: Xymon <xymon-bounces at xymon.com> on behalf of Steve Coile <user-a2e2f9aff0d1@xymon.invalid>
Sent: Tuesday, December 2, 2014 9:26 AM
To: Vernon Everett
Cc: Xymon mailinglist
Subject: Re: [Xymon] Monitoring Directory Permissions
What's the point of monitoring for it? To let you know you need to correct them? If that, why not just put a cron job in place that sets them properly?
--
Steve Coile
Senior Network and Systems Engineer, McClatchy Interactive<http://www.mcclatchyinteractive.com/>
Office: XXX-XXX-XXXX | Mobile: XXX-XXX-XXXX | Fax: XXX-XXX-XXXX
On Tue, Dec 2, 2014 at 2:28 AM, Vernon Everett <user-b3f8dacb72c8@xymon.invalid<mailto:user-b3f8dacb72c8@xymon.invalid>> wrote:
Hi guys
I have a directory on a client system, and it needs to have permission of 777
From time to time, automated software updates sets it to 770.
I am looking for a way to check this, and alert when permissions are not as they should be.
Any advice appreciated.
Regards
Vernon
--
"Accept the challenges so that you can feel the exhilaration of victory"
- General George Patton