Skip to content

Commit

Permalink
Remove setcap instructions
Browse files Browse the repository at this point in the history
These are obsolete, we don't require them anymore.
  • Loading branch information
ddevault committed Aug 8, 2018
1 parent 89e176d commit 1c7a6a4
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 24 deletions.
4 changes: 0 additions & 4 deletions README.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,6 @@ Führe diese Befehle aus:
ninja -C build
sudo ninja -C build install

In Systemen mit logind musst du `sway` einige Capabilities geben:

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:

sudo chmod a+s /usr/local/bin/sway
Expand Down
4 changes: 0 additions & 4 deletions README.el.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,6 @@ _\*\*Απαιτείται μόνο για swaylock_
ninja -C build
sudo ninja -C build install

Σε συστήματα με logind, χρειάζεται να ορίσετε μερικά δικαιώματα caps στο εκτελέσιμο αρχείο:

sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway

Σε συστήματα χωρίς logind, χρειάζεται να θέσετε το suid bit στο εκτελέσιμο αρχείο:

sudo chmod a+s /usr/local/bin/sway
Expand Down
4 changes: 0 additions & 4 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ Exécutez ces commandes :
ninja -C build
sudo ninja -C build install

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/local/bin/sway

Sur les systèmes sans logind, vous devez suid le binaire de sway :

sudo chmod a+s /usr/local/bin/sway
Expand Down
4 changes: 0 additions & 4 deletions README.it.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ Esegui questi comandi:
ninja -C build
sudo ninja -C build install

Per i sistemi con logind, devi impostare un paio di caps sull'eseguibile:

sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway

Per i sistemi senza logind, devi cambiare i permessi (suid):

sudo chmod a+s /usr/local/bin/sway
Expand Down
6 changes: 2 additions & 4 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,12 @@ _\*\*swaylockでのみ必要です_
ninja -C build
sudo ninja -C build install

logindを使用しているシステムでは、バイナリにいくつかのケーパビリティを設定する必要があります:

sudo setcap "cap_sys_ptrace,cap_sys_tty_config=eip" /usr/local/bin/sway

logindを使用していないシステムでは、バイナリにsuidを設定する必要があります:

sudo chmod a+s /usr/local/bin/sway

swayは始まるのすぐにrootの許可を落としてます。

## 設定

既にi3を使用している場合は、i3の設定ファイルを`~/.config/sway/config`にコピーすれば動きます。そうでない場合は、サンプルの設定ファイルを`~/.config/sway/config`にコピーしてください。サンプルの設定ファイルは、通常`/etc/sway/config`にあります。`man 5 sway`を実行することで、設定に関する情報を見ることができます。
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,12 @@ Run these commands:
ninja -C build
sudo ninja -C build install

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/local/bin/sway

On systems without logind, you need to suid the sway binary:

sudo chmod a+s /usr/local/bin/sway

Sway will drop root permissions shortly after startup.

## Configuration

If you already use i3, then copy your i3 config to `~/.config/sway/config` and
Expand Down

0 comments on commit 1c7a6a4

Please sign in to comment.