From 4ab66bbbc3e3419a312b337fb2b79371a36d9aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20F=C3=A9ron?= Date: Mon, 30 Oct 2017 10:02:18 +0100 Subject: [PATCH] Update README.md --- README.de.md | 2 +- README.fr.md | 2 +- README.it.md | 2 +- README.ja.md | 2 +- README.md | 2 +- README.pt.md | 2 +- README.ru.md | 2 +- README.uk.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.de.md b/README.de.md index 1b0811ffc..701cc34fc 100644 --- a/README.de.md +++ b/README.de.md @@ -82,7 +82,7 @@ Führe diese Befehle aus: In Systemen mit logind musst du `sway` einige Capabilities geben: - sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway + sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway In Systemen ohne logind musst du `sway` das suid-Flag geben: diff --git a/README.fr.md b/README.fr.md index 060ae0632..47b6c4101 100644 --- a/README.fr.md +++ b/README.fr.md @@ -77,7 +77,7 @@ Exécutez ces commandes : Sur les systèmes avec logind, vous devez définir quelques caps sur le binaire : - sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway + sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway Sur les systèmes sans logind, vous devez suid le binaire de sway : diff --git a/README.it.md b/README.it.md index 58b965d87..f5e0d8e2d 100644 --- a/README.it.md +++ b/README.it.md @@ -78,7 +78,7 @@ Esegui questi comandi: Per i sistemi con logind, devi impostare un paio di caps sull'eseguibile: - sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway + sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway Per i sistemi senza logind, devi cambiare i permessi (suid): diff --git a/README.ja.md b/README.ja.md index 3593df15d..2e8f9bfbc 100644 --- a/README.ja.md +++ b/README.ja.md @@ -68,7 +68,7 @@ _\*\*swaylockでのみ必要です_ logindを使用しているシステムでは、バイナリにいくつかのケーパビリティを設定する必要があります: - sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway + sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway logindを使用していないシステムでは、バイナリにsuidを設定する必要があります: diff --git a/README.md b/README.md index 33d52fb1e..2c5857915 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,7 @@ Run these commands: On systems with logind, you need to set a few caps on the binary: - sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway + sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway On systems without logind, you need to suid the sway binary: diff --git a/README.pt.md b/README.pt.md index 7d105e42c..b5ca132f2 100644 --- a/README.pt.md +++ b/README.pt.md @@ -84,7 +84,7 @@ Para compilar, execute estes comandos: Em sistemas com logind, configure as seguintes capacidades para o arquivo binário: - sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway + sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway Em sistemas sem logind, ative a *flag* de *suid* do arquivo binário: diff --git a/README.ru.md b/README.ru.md index 2a27247c0..4035b0fc9 100644 --- a/README.ru.md +++ b/README.ru.md @@ -77,7 +77,7 @@ _\*\*Требуется только для swaylock_ Если у вас logind: - sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway + sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway Иначе: diff --git a/README.uk.md b/README.uk.md index 7cb3b95f7..2e107afc5 100644 --- a/README.uk.md +++ b/README.uk.md @@ -85,7 +85,7 @@ _\*\*Лише для swaylock_ На системах **з** logind, варто встановити декілька можливостей (caps) на виконуваний файл sway: - sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/bin/sway + sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway На системах **без** logind, необхідно встановити біт SUID на виконуваний файл sway: