aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/meta
diff options
context:
space:
mode:
authorLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:28 +0100
committerLibravatar sommerfeld <sommerfeld@sommerfeld.dev>2026-05-13 13:43:28 +0100
commit0fff052767335f33018c0896390e528aa6ec3dd3 (patch)
treeba207c167efc6ed3312c653397897b3c45e30a5f /meta
parent833eee2c5d1dd85765f6980d255e7480c982abf0 (diff)
downloaddotfiles-0fff052767335f33018c0896390e528aa6ec3dd3.tar.gz
dotfiles-0fff052767335f33018c0896390e528aa6ec3dd3.tar.bz2
dotfiles-0fff052767335f33018c0896390e528aa6ec3dd3.zip
fix(sway): call doas with absolute paths for reboot/poweroff
doas matches the 'cmd' rule literally against argv[0], not against the resolved PATH lookup. With 'cmd /usr/bin/poweroff' in doas.conf, 'doas poweroff' is denied silently — works only as 'doas /usr/bin/poweroff'. The interactive shell aliases sudo->doas and was hiding the issue when typing the bare command in a terminal (PATH expansion happens in the shell before doas sees argv[0]... only when explicitly typed with absolute path).
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions