Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access denied on install to SIP protected directory #7

Closed
ferologics opened this issue Sep 3, 2018 · 1 comment
Closed

Access denied on install to SIP protected directory #7

ferologics opened this issue Sep 3, 2018 · 1 comment

Comments

@ferologics
Copy link
Contributor

ferologics commented Sep 3, 2018

The $ sudo make install command is exiting with an error with install: /usr/bin/budget: Operation not permitted.

Since macOS El Capitan (bye bye OS X) we have System Integrity Protection (SIP) aka rootless. The relevant part of SIP here is:

System Integrity Protection protects system files and directories that are flagged for protection. This happens either by adding an extended file attribute to a file or directory, by adding the file or directory to /System/Library/Security/rootless.conf or both. Among the protected directories are: /System, /bin, /sbin, /usr (but not /usr/local).

If it is impossible to modify /usr, but not /usr/local, then the prefix should be set to /usr/local?

@wichtounet
Copy link
Owner

I had no idea about this SIP. I don't use Mac OS X and this was never tested on it.

I merged #6, can you confirm if this is fixed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants