My macOS system configuration script requires Full Disk Access, so I wanted to add a warning if the user's terminal app doesn't have the required permissions. This check should be performed right at the beginning of the script, because if the process fails halfway through, the …