sudo: Fix installation permissions

I had accudentally removed SETUID bit from sudo. This required to
elevate the permissions.
This commit is contained in:
Bananymous 2024-06-24 15:00:08 +03:00
parent 20aa7c79d1
commit 61aa1ea11f
1 changed files with 9 additions and 1 deletions

View File

@ -5,4 +5,12 @@ set(SOURCES
add_executable(sudo ${SOURCES})
banan_link_library(sudo libc)
install(TARGETS sudo OPTIONAL)
install(
TARGETS sudo
PERMISSIONS
OWNER_READ OWNER_WRITE OWNER_EXECUTE
GROUP_READ GROUP_EXECUTE
WORLD_READ WORLD_EXECUTE
SETUID
OPTIONAL
)