spicetify / cli

Command-line tool to customize Spotify client. Supports Windows, MacOS, and Linux.
https://spicetify.app
GNU Lesser General Public License v2.1
18.61k stars 732 forks source link

Not able to backup or update [MacOS] #143

Closed juancaorg closed 4 years ago

juancaorg commented 4 years ago

Yeah, I know. I have a similar error like everybody else and I tried to apply solution by reading, but still not success :( I recently did a clean install, and I'm trying to install spicetify again.

Whenever I do (of course, after running spicetify first) spicetify backup apply or spicetify backup apply dev-tool I get the infamous error:

fatal unlinkat /Applications/Spotify.app/Contents/Resources/Apps/findfriends.spa: permission denied

And yeah, I have tried to apply the Linux solution sudo chmod 777 /opt/spotify -R but in the MacOS way, of course (I think) sudo chmod 777 /Applications/Spotify.app and well, doing an ls -la /Applications/Spotify.app I get:

drwxrwxrwx@  3 snake  staff    96 Feb 12 15:17 .
drwxrwxr-x+ 55 root   admin  1760 Feb 23 00:02 ..
drwxrwxrwx@  8 snake  staff   256 Feb 12 15:17 Contents

After that, I try I still try to spicetify backup apply and not success.

Of course, if I try spicetify update I get another infamous error:

fatal open /Applications/Spotify.app/Contents/Resources/Apps/zlink/css/user.css: no such file or directory

Running MacOS Catalina 10.15.3. Any help or guidance is appreciated, thanks in advance!

juancaorg commented 4 years ago

Now fresh, I saw my problem. I post it anyway if anyone has a problem in the future with MacOS. To be able to backup or update, change the permissions too the following way (have to be an admin user to run):

sudo chmod -R 775 /Applications/Spotify.app

Now you should be able to run spicetify backup apply enable-devtool and spicetify update without a problem as any other user in the group (standard users)!