Skip to content

Can't change system file permission on El Capitan #28

@fullybaked

Description

@fullybaked

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions