Homebrew potentially breaking JAMF binary

AlistairCarr
New Contributor II

So as part of the homebrew installation process it advises that you may need to perform the following if you're on El Cap

sudo chown $(whoami):admin /usr/local && sudo chown -R $(whoami):admin /usr/local user/

Obviously with the JAMF binary being located in /usr/local/jamf/bin

What I'm trying to understand are two things

1) the affects on the JAMF binary if the permissions change is made, ie self service breaks, check in stops? policy delivery etc.

2) Will issuing the following sudo chown -R root:wheel /usr/local/jamf/ resolve the issues?

Thanks as always in advance.

2 REPLIES 2

davidacland
Honored Contributor II
Honored Contributor II

It sounds like something is wrong with the advice in the homebrew installation instructions. I'd expect the jamf binary to one of a few problems.

Do you know what the implication is of not running the commands? Or what files homebrew needs the user to own?

If it was absolutely needed, I'd look at targeting the exact files rather than the whole /usr/local directory.

AlistairCarr
New Contributor II

documentation is here

http://digitizor.com/install-homebrew-osx-el-capitan/

advice on permissions change is here

http://digitizor.com/fix-homebrew-permissions-osx-el-capitan/

implication is homebrew wont run properly I think from what i can gather the whole directory has to be targetted due to creation of sub directories and files