mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
sudo: fix main executable permissions
The sudo executable is installed without the setuid bit set, which prevents sudo from working. This patch adds a post-install hook to fix the permissions of the sudo executable. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
b6d7ce7e02
commit
0e8dafcb3e
@@ -14,4 +14,8 @@ SUDO_CONF_OPT = \
|
||||
--without-interfaces \
|
||||
--without-pam
|
||||
|
||||
define SUDO_PERMISSIONS
|
||||
/usr/bin/sudo f 4755 0 0 - - - - -
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user