diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-09-14 06:36:30 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-09-14 06:36:30 -0400 |
commit | ba27600bec258d80e60a3ff6cd62834da7523b01 (patch) | |
tree | a74067e41ce2a595b8632b59caeff7dc9b0e0401 /README.md | |
parent | Merge pull request #1351 from Ongy/swaygrab-forking (diff) | |
download | sway-ba27600bec258d80e60a3ff6cd62834da7523b01.tar.gz sway-ba27600bec258d80e60a3ff6cd62834da7523b01.tar.zst sway-ba27600bec258d80e60a3ff6cd62834da7523b01.zip |
Update setcap commands in README
Ref #1346
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -76,8 +76,7 @@ Run these commands: | |||
76 | 76 | ||
77 | On systems with logind, you need to set a few caps on the binary: | 77 | On systems with logind, you need to set a few caps on the binary: |
78 | 78 | ||
79 | sudo setcap cap_sys_ptrace=eip /usr/local/bin/sway | 79 | sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway |
80 | sudo setcap cap_sys_tty_config=eip /usr/local/bin/sway | ||
81 | 80 | ||
82 | On systems without logind, you need to suid the sway binary: | 81 | On systems without logind, you need to suid the sway binary: |
83 | 82 | ||