Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run as root #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Run as root #21

wants to merge 2 commits into from

Conversation

vanosg
Copy link
Collaborator

@vanosg vanosg commented Mar 30, 2014

When running from a root-owned directory location, we encounter issues as we have to run some commands as the brewpi user, which doesn't have permission to 'be' in the root-owned directory. This patch adds a check to ensure the user is only in a place where he belongs!

Geo Van Osterom added 2 commits March 29, 2014 21:23
If the directory install.sh is being run out of is owned by root, when we run the git commands as brewpi, we will
get a permission denied error as we are not allowed to be operating in that dir as a non-root user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants