desktop
desktop copied to clipboard
Can't change system file permission on El Capitan
After upgrading to El Capitan then attempting to use desktop I was presented with the following message
It looks like this is the first time you've tried to change your desktop.
We need to make your desktop image writable before we can change it. This only needs to be done once.
$ sudo chown -h $('whoami'):staff /System/Library/CoreServices/DefaultDesktop.jpg && sudo chown $('whoami'):staff /System/Library/CoreServices/DefaultDesktop.jpg
$ sudo chmod -h 664 /System/Library/CoreServices/DefaultDesktop.jpg && sudo chmod 664 /System/Library/CoreServices/DefaultDesktop.jpg
This is despite desktop being installed prior to the update (obviously the update resets permissions on the file)
However the new SIP in El Capitan prevents you from writing to many system directories such as /usr, /System & /bin, regardless of whether or not you are root.
I don't know what the solution is, other than to possibly follow the advice here https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/El_Capitan_and_Homebrew.md and boot into recovery mode to set the permissions
Ah, bummer! Thanks for letting me know. I just updated to El Capitan as well, so I'll start taking a look at this.
FWIW, I've updated to El Capitan and ran the permissions stuff from the linked document (to get Homebrew to work again) and it's still not working. Stupid SIP.
Any progress on this issue?
Any progress on this issue?
@adamdehaven https://github.com/chrishunt/desktop/pull/29 is the progress so far. :grin: