Update setcap commands in README

Ref #1346
This commit is contained in:
Drew DeVault 2017-09-14 06:36:30 -04:00
parent ec9a977fbb
commit ba27600bec
9 changed files with 9 additions and 18 deletions

View file

@ -76,8 +76,7 @@ Run these commands:
On systems with logind, you need to set a few caps on the binary:
sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway
sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway
sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway
On systems without logind, you need to suid the sway binary: