Skip to content

Incorrect permissions when installing swhkd-git from AUR #297

@manthanabc

Description

@manthanabc

Version Information:

  • Distribution Information ( run uname -a )
    Linux archlinux 6.13.5-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 27 Feb 2025 18:09:44 +0000 x86_64 GNU/Linux
  • swhkd version ( swhkd -V )
    Simple-Wayland-HotKey-Daemon 1.3.0-dev

Describe the bug:
/usr/bin/swhkd does not have the setuid bit set on it when installed from aur and i can't figure out why this is happening

Expected behavior:
Since the PKBUILD file makes use of make install, it should automatically set the setuid bit on file
resulting in ls -la /usr/bin/swhkd to be
-rwsr-xr-x 1 root root 2583104 Mar 8 21:35 /usr/bin/swhkd
this works correctly when installed manually via make install.

Actual behavior:
It fails to set the setuid bit
-rwxr-xr-x 1 root root 2583104 Mar 8 21:38 /usr/bin/swhkd

To Reproduce:
Install swhkd-git from AUR and run ls -l /usr/bin/swhkd

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions