Honestpuck / homebrew.sh

Install homebrew via Jamf without giving users admin rights
Apache License 2.0
107 stars 30 forks source link

Cask issues #1

Closed syoung-quizlet closed 4 years ago

syoung-quizlet commented 4 years ago

Thank you for writing this. This has been our primary hurdle with deploying zero touch MacOS.

I noticed after running it that I could not install applications using cask. I noticed the /usr/local/Caskroom directory did not exist. I created it and set the appropriate permissions and then was able to run brew cask install.

mkdir /usr/local/Caskroom
sudo chown -R $consoleuser /usr/local/Caskroom

Not sure if this is specific to me or if it may be an issue others may have.

Reference: https://github.com/Homebrew/homebrew-cask/blob/master/doc/reporting_bugs/permission_denied_error.md

Honestpuck commented 4 years ago

Finally got around to testing adding in the mkdir /usr/local/Caskroom so closing this. Thanks for the suggestion.