You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.
Describe the bug
When running install.sh, the script fails early because of wrong permissions of brew.
To Reproduce
Create new OS X user
Install brew through user1
Run install.sh from user2
Expected behavior
It works
Terminal output
/install.sh
Platform check: OK. Proceeding with Mac OS X version check.
Detected compatible version of Mac OS X! Proceeding with installation.
/usr/local/bin/brew
proceeding: brew installed
Installing Ansible
Error: No such keg: /usr/local/Cellar/ansible
Error: /usr/local/Cellar is not writable. You should change the
ownership and permissions of /usr/local/Cellar back to your
user account:
sudo chown -R $(whoami) /usr/local/Cellar
Error: Cannot write to /usr/local/Cellar
Error: No such keg: /usr/local/Cellar/ansible
installing necessary roles
Desktop (please complete the following information):
OS: MacOS 10.13.6 (17G65)
Latest
Additional context
A fix is to create a group for brew and change the permissions (https://gitlab.com/alyda/dotfiles/snippets/19654). This would be outside of the scope of the install.sh script, but a sensible error message would be nice.
The text was updated successfully, but these errors were encountered:
Describe the bug
When running install.sh, the script fails early because of wrong permissions of brew.
To Reproduce
Expected behavior
It works
Terminal output
Desktop (please complete the following information):
Additional context
A fix is to create a group for brew and change the permissions (https://gitlab.com/alyda/dotfiles/snippets/19654). This would be outside of the scope of the install.sh script, but a sensible error message would be nice.
The text was updated successfully, but these errors were encountered: