Live data from Hacker News

El Capitan and Homebrew

github.com

71–80 of 298 posts

Re: El Capitan and Homebrew

#71
post #23
post #12

Earlier quoted context omitted.

Then install brew with sudo.

This is what you used to see when you tried to use sudo with brew: Error: Cowardly refusing to `sudo brew install` You can use brew with sudo, but only if the brew executable is owned by root. However, this is both not recommended and completely unsupported so do so at your own risk. I don't know if it's different now, but a quick Google search indicates that brew still behaves like this. I would like to use brew wit…

>so do so at your own risk.

sudo su at your own risk, hehe.

Re: El Capitan and Homebrew

#72

Installed El Capitan yesterday. Process took almost half an hour. Afterwards, brew just gave me a warning to do "chown" to my usr/local. That's it. Everything works fine.

Wouldn't that mean any other users would be unable to use (or maybe just install or upgrade) homebrew stuff?

Re: El Capitan and Homebrew

#73

Users should have full control over their own machines. System Integrity Protection is obnoxious paternalism at best, and at worst, it's just another step toward iOS-ification. If Apple keeps this up, I expect a revival of Linux desktop distributions.

Yes, 2016 might very well be the year of the Linux desktop.

Re: El Capitan and Homebrew

#74
post #46

This is one of the reasons I love HN: a grapevine of important things to help developers fix their dev environments, security things we need to be aware of for our servers, new APIs to take advantage of, and other important stuff.

Well, if you use OS X, write against Node.JS, work at a SV startup and are interested in big data / machine learning. It is quite a bubble.

Re: El Capitan and Homebrew

#75
post #67

Homebrew troubles aside, does System Integrity Protection means the end of OpenVPN and FUSE on Mac OS? Those need to add kernel modules and such.

Yosemite already prevented unsigned kernel modules, so I don't think anything will change here.

Re: El Capitan and Homebrew

#76

Users should have full control over their own machines. System Integrity Protection is obnoxious paternalism at best, and at worst, it's just another step toward iOS-ification. If Apple keeps this up, I expect a revival of Linux desktop distributions.

The common problem of today OSes is that shall malware breach security at least once, it can hide in the system and you will have no idea that you have it. SIP is a good step towards fixing that problem.

Re: El Capitan and Homebrew

#77
post #60

Earlier quoted context omitted.

What unix convention are you referring to?

FHS ( https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard )

Can't see how that applies. Does FHS really say anything about the structure underneath /usr/local ? Besides which, the Mac's filesystem isn't FHS in the first place...

Re: El Capitan and Homebrew

#78
post #67

Homebrew troubles aside, does System Integrity Protection means the end of OpenVPN and FUSE on Mac OS? Those need to add kernel modules and such.

No, I have used OpenVPN throughout the betas without issues, and OSXFUSE added support in version 2.8.

Re: El Capitan and Homebrew

#80
post #70
post #11

Why does brew need to install everything owned by my user in /usr/local? I would honestly prefer if everything installed by brew was owned by root:wheel and brew would gracefully abort if I forgot to run it with sudo. Is all that current mess just so that I don't need sudo for brew?

So you'd want all those programs to run as root? Isn't that against any notion of security?

Why would they run as root, just because they were owned by root? Only brew itself would need to run as root (just like most package managers do anyway).
Post reply on HN