Browse Source
desktop/i3lock: Fixed chown syntax
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/229/head
Robby Workman
1 year ago
committed by
Willy Sudiarto Raharjo
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with
1 additions and
1 deletions
-
desktop/i3lock/i3lock.SlackBuild
|
@ -91,7 +91,7 @@ make install DESTDIR=$PKG |
|
|
# i3lock needs setuid to make sure it isn't killed by the kernel and to read shadow. |
|
|
# i3lock needs setuid to make sure it isn't killed by the kernel and to read shadow. |
|
|
# Don't worry, the privileges are dropped really soon after starting |
|
|
# Don't worry, the privileges are dropped really soon after starting |
|
|
# and everything else runs without privileges. |
|
|
# and everything else runs without privileges. |
|
|
chown 0.0 $PKG/usr/bin/i3lock |
|
|
|
|
|
|
|
|
chown 0:0 $PKG/usr/bin/i3lock |
|
|
chmod 4751 $PKG/usr/bin/i3lock |
|
|
chmod 4751 $PKG/usr/bin/i3lock |
|
|
# We need setuid to set the out of memory score, and drop permissions once done. |
|
|
# We need setuid to set the out of memory score, and drop permissions once done. |
|
|
# This makes the program's init slightly more insecure, since we'd only need |
|
|
# This makes the program's init slightly more insecure, since we'd only need |
|
|