Discussion:
[Aide] File Type Selection Rules
Michael Gora
2011-08-31 22:23:20 UTC
Permalink
All,
I'm not sure if this is the appropriate location for me to pose this
question. However I was wondering if I could get some assistance in
understanding if a certain use of AIDE is feasible.

In short I would like to monitor all the particular files of a given type on
my system, lets say those whose name ends with ".cfg". So given a directory
structure such as:
/basedir/
--test.cfg
--/dir1
----a.cfg
----b.cfg
----c.cfg
--/dir2
----1.cfg
----2.cfg

I write a simple rule like:
/basedir/*.cfg

However this will only select test.cfg and not any of the ".cfg" files in
dir1 or dir2. Now I tried doing somethign a bit more complex to distinguish
the directories from the actual files:
/basedir/(.*/)*$|.*\.cfg

However this didn't work since the directories don't end with a "/". So now
I'm a little stumped. Is there any way to blanket select a file type without
specifying every directory I want to monitor?
Regards,
-Michael
-----------------------------------------------------------------------
Michael A. Gora
MS Computer Engineering
Virginia Polytechnic Institute and State University
--
Michael A. Gora
MS Computer Engineering
Virginia Polytechnic Institute and State University
(540) - 200 - VTMG (8864)
302 Whittemore (0111), Virginia Tech, Blacksburg VA 24061
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://mailman.cs.tut.fi/pipermail/aide/attachments/20110831/827bdccc/attachment.html
Hannes von Haugwitz
2011-09-16 10:18:11 UTC
Permalink
Post by Michael Gora
In short I would like to monitor all the particular files of a given type on
my system, lets say those whose name ends with ".cfg". So given a directory
/basedir/
--test.cfg
--/dir1
----a.cfg
----b.cfg
----c.cfg
--/dir2
----1.cfg
----2.cfg
/basedir/*.cfg
This is a known bug. I've already investigated this issue but didn't find
a appropriate solution yet.

I report back if the bug has been fixed.

Greetings

Hannes
Hannes von Haugwitz
2016-04-16 11:35:05 UTC
Permalink
Hi,
Post by Hannes von Haugwitz
This is a known bug. I've already investigated this issue but didn't find
a appropriate solution yet.
I report back if the bug has been fixed.
As promised I hereby report back to you.

The issue has been fixed with the latest beta release of AIDE
(v0.16b1)[0].

Best regards

Hannes

[0] https://sourceforge.net/p/aide/mailman/message/35017320/

Continue reading on narkive:
Loading...