Hi, On Wed, Feb 26, 2025 at 10:26:41PM +0100, Bastard Operator from Hell aka Django wrote: > What confuses me a little is the aide --update. What is the purpose of the > update option? If I understand it correctly, the option performs a check and > then recreates the database. But why should you, or more precisely I, use > this option? Is it “only” intended for the interactive check for an admin? > Or what is the exact idea behind it or for using this option?
aide --update basically combines a check and an initialization of a new database. The advantage of using --update over --check/--init is that the report and the new database are always based on the same file system data. Another approach could be to use --init followed by --compare, but note that not all attributes (namely growing and compressed) are supported in compare mode. Best regards Hannes _______________________________________________ Aide mailing list Aide@ipi.fi https://www.ipi.fi/mailman/listinfo/aide