3 ms·
Actually it sounds like you will need to run this/restore permissions after every future OS X update.
by rbinv 11y ago
Actually it sounds like you will need to run this/restore permissions after every future OS X update.
- Tehnix 11y agoHmm, having been on El Capitan since the first beta, this hasn't happened. Do you have anywhere it states that?
- rbinv 11y agohttps://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/El_Capitan_and_Homebrew.md#el-capitan--homebrew https://github.com/Homebrew/homebrew/blob/master/share/doc/h... "Apple documentation hints that /usr/local will be returned to root:wheel restricted permissions on every OS X update; Homebrew will be adding a brew doctor check to warn you when this happens in the near future."
- crazysim 11y agoPerhaps they should consider adding an option to install something into launchd that just does this.
- _jsn 11y agoRight. The OS X image now has to contain a /usr/local directory so that it exists unrestricted after you install the OS (otherwise you would be unable to create it yourself, because /usr is restricted). It has to ship with some permissions, so it rightly ships owned by root. The installer will apply these permissions each time it runs. Aside: I really wish Homebrew didn't encourage having a single user own /usr/local. If they're going to insist on never needing sudo to install things, it should just default to installing in your home directory.