Repair permissions on installed packages

Script Type: Bash

This task compares the POSIX and ACL permissions on files and folders installed by Apple PKG installers against the receipts left by those installers.

If the permissions in the file system do not match the receipt, the task resets to match the receipt permissions.

Parameters

  • Only run script if user is logged out: If enabled and a logged-in user is detected, the task queues until the user logs out. The user receives a notification that a task is waiting. After logout, the task runs.
  • Hide macOS notification when script is run: Run the task without notifying the user.