-
Start terminal and then sudo to a root shell
sudo -s
-
Go to /var/db/locationd
cd /var/db/locationd
-
Make a backup of the clients.plist file
cp -p clients.plist clients.plist.save
-
Convert clients.plist to xml (editable format)
plutil -convert xml1 clients.plist
-
Use vi (vim) / nano to edit the clients.plist file and remove the application.
vi clients.plist
ornano clients.plist
-
Convert the clients.plist file back to binary
plutil -convert binary1 clients.plist
-
Restart locationd
killall locationd
If the apps are still there, do the process again, except restart locationd using kill -9 after determining the PID as follows:ps -ef | grep locationd | grep -v grep
(The PID is the second field in the ps output)
Output:205 427 1 0 6:31PM ?? 0:00.07 /usr/libexec/locationd
kill -9 427
Created
April 17, 2024 10:37
-
-
Save xxKRASHxx/689adab5a226a37e1e4a2a053eaeb7b7 to your computer and use it in GitHub Desktop.
Reset app permissions on MacOS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment