forked from Bananymous/banan-os
sudo: Fix installation permissions
I had accudentally removed SETUID bit from sudo. This required to elevate the permissions.
This commit is contained in:
parent
20aa7c79d1
commit
61aa1ea11f
|
@ -5,4 +5,12 @@ set(SOURCES
|
||||||
add_executable(sudo ${SOURCES})
|
add_executable(sudo ${SOURCES})
|
||||||
banan_link_library(sudo libc)
|
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
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue