logo

drewdevault.com

[mirror] blog and personal website of Drew DeVault git clone https://hacktivis.me/git/mirror/drewdevault.com.git
commit: 3ff4e67618e8bae4bd0f66b9f2434dee467a57bd
parent 963f7458c1f1702d9f78ced7247e6c6e80b77814
Author: Josiah Frentsos <jfrent@tilde.team>
Date:   Mon, 29 Aug 2022 11:22:49 -0400

powerctl: Fix permissions

Diffstat:

Mcontent/blog/powerctl-a-hare-case-study.md2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/content/blog/powerctl-a-hare-case-study.md b/content/blog/powerctl-a-hare-case-study.md @@ -46,7 +46,7 @@ fn checkgroup() bool = { if (uid == 0) { return true; } else if (euid != 0) { - fmt::fatal("Error: this program must be installed with setuid (chmod a+s)"); + fmt::fatal("Error: this program must be installed with setuid (chmod u+s)"); }; const group = match (passwd::getgroup(POWER_GROUP)) {