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

Update Linux install commands with sudo #254

Merged
merged 1 commit into from
Apr 26, 2017
Merged

Update Linux install commands with sudo #254

merged 1 commit into from
Apr 26, 2017

Conversation

shawndwells
Copy link
Member

On enterprise linux distros, the /usr/local/bin/ directory is protected from non-privileged users. Need sudo to copy files into that directory.

$ cp compliance-masonry_1.1.2_linux_amd64/compliance-masonry /usr/local/bin/
cp: cannot create regular file ‘/usr/local/bin/compliance-masonry’: Permission denied

This patch updates the install example to use sudo.

On enterprise linux distros, the /usr/local/bin/ directory is protected from non-privileged users. Need sudo to copy files into that directory.

`````
$ cp compliance-masonry_1.1.2_linux_amd64/compliance-masonry /usr/local/bin/
cp: cannot create regular file ‘/usr/local/bin/compliance-masonry’: Permission denied
`````

This patch updates the install example to use sudo.
@afeld
Copy link
Member

afeld commented Apr 26, 2017

Thanks!

@afeld afeld merged commit 0329d7e into opencontrol:master Apr 26, 2017
@shawndwells shawndwells deleted the always_use_sudo branch April 27, 2017 04:31
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