Skip to content

Commit

Permalink
Update Linux install commands with sudo
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
shawndwells committed Apr 26, 2017
1 parent 84402b6 commit 3a86bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ In your terminal, run the following:
```sh
curl -L https://github.com/opencontrol/compliance-masonry/releases/download/v1.1.2/compliance-masonry_1.1.2_linux_amd64.tar.gz -o compliance-masonry.tar.gz
tar -xf compliance-masonry.tar.gz
cp compliance-masonry_1.1.2_linux_amd64/compliance-masonry /usr/local/bin
sudo cp compliance-masonry_1.1.2_linux_amd64/compliance-masonry /usr/local/bin
```

---
Expand Down

0 comments on commit 3a86bd1

Please sign in to comment.