summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorEirik A <sszynrae@gmail.com>2020-01-17 13:51:04 +0000
committerKelvin Zhang <zhangxp1998@gmail.com>2020-01-17 12:22:00 -0500
commitf6ceb447d5ab723a67d4007da7574bd13ce6f8b4 (patch)
treeacd02d14e1ed9bc05e3904df86c579d21cd7ce1d /README.md
parent347a615824752bccf31b426503d9fba76df403ae (diff)
README: fix setcap syntax
setcap+=ep did not work for me, needed to take off the equals sign
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 3f4b347..6940cde 100644
--- a/README.md
+++ b/README.md
@@ -54,7 +54,7 @@ cargo install bandwhich
```
This installs `bandwhich` to `~/.cargo/bin/bandwhich` but you need root priviliges to run `bandwhich`. To fix that, there are a few options:
-- Give the executable elevated permissions: `sudo setcap cap_net_raw,cap_net_admin=+ep ~/.cargo/bin/bandwhich`
+- Give the executable elevated permissions: `sudo setcap cap_net_raw,cap_net_admin+ep ~/.cargo/bin/bandwhich`
- Run `sudo ~/.cargo/bin/bandwhich` instead of just `bandwhich`
- Create a symlink: `sudo ln -s ~/.cargo/bin/bandwhich /usr/local/bin/` (or another path on root's PATH)
- Set root's PATH to match your own `sudo env "PATH=$PATH" bandwhich`