• Bug#1103432: Reply regarding aide symlink issue

    From Hannes von Haugwitz@21:1/5 to Sai.Sathujoda@toshiba-tsip.com on Sun Apr 27 12:00:01 2025
    On Wed, Apr 23, 2025 at 12:38:45PM +0000, Sai.Sathujoda@toshiba-tsip.com wrote:
    $ ls -l /lib
    lrwxrwxrwx 1 root root 7 Aug 4 2023 /lib -> usr/lib

    So, based on our discussion can we conclude aide will not be able to
    accept files present in symlinks as it's database entries, right?

    To monitor the files located in a target directory, they must also match
    the rules. For instance the rule `/(usr/)?lib R` would match both the
    symlink /lib and the link target /usr/lib.

    You can use --dry-init to show which files would be added to the
    database, e.g.:

    aide --before "/(usr/)?lib R" --dry-init

    Best regards

    Hannes

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)