Lock a log file with chattr +i so even root can't modify, delete, or rename it. ext4/XFS checks the immutable inode flag on every write syscall and returns EPERM. #linux #audit #immutable https://www.valtersit.com/vault/immutable-appendonly-audit-log-with-chattr-on-linux-b619ac/
