How did you get this fixed. Could you elaborate more?
Yes, I solved this permanently and I don't have to use sudo
anymore.
- Open Spotlight with cmd + space
- Type
Directory Utility.app
- Click the lock icon, then enter your admin account name and password.
- Click on
Edit
-->Enable Root User
in the menu bar. Then enter the password that to want to use and save it on a note.
- Open Finder
- Press shift + cmd + G
- Type
/private/tmp/
- Right click on the
skhd_username.pid
file --> Get Info. - At the bottom, click on the lock icon and write your admin user and password and enable permission to your own user:
- Click on the
+
button if you don't see your user name.
Note: I don't remember if I uninstalled
skhd
before doing this, so if it doesn't work you could try that first, and then doing this.
Also, I had to enable a root password, because it wouldn't let me change permissions not even using the
chmod -R 755
command.
You can see here the /private/
directory with all of its permissions enabled bc I tested this command on the terminal after enabling root password
.
And here are the permissions for my /private/tmp/
directory in which I had enabled only write and read user permissions.
I tried that , still not helpful , my macOS is sonoma , some control works and some don't and I keep getting that same error , I checked all permissions , I'm using yabai with skhd