diff options
author | Eirik A <sszynrae@gmail.com> | 2020-01-17 13:51:04 +0000 |
---|---|---|
committer | Kelvin Zhang <zhangxp1998@gmail.com> | 2020-01-17 12:22:00 -0500 |
commit | f6ceb447d5ab723a67d4007da7574bd13ce6f8b4 (patch) | |
tree | acd02d14e1ed9bc05e3904df86c579d21cd7ce1d /README.md | |
parent | 347a615824752bccf31b426503d9fba76df403ae (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.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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` |