Restore permission-hardener's notice about how to compare old and new states

This commit is contained in:
Aaron Rainbolt 2025-01-14 20:35:28 -06:00
parent c6f09748f3
commit 328f747179
No known key found for this signature in database
GPG Key ID: A709160D73C79109

View File

@ -612,6 +612,11 @@ commit_policy() {
-- "${policy_file_item}"
fi
done
log notice "\
To compare the current and previous permission modes, install 'meld' (or preferred diff tool) for comparison of file mode changes:
sudo apt install --no-install-recommends meld
meld ${store_dir}/existing_mode/statoverride ${store_dir}/new_mode/statoverride"
}
undo_policy_for_file() {