Commit 0e8dafcb authored by Simon Dawson's avatar Simon Dawson Committed by Thomas Petazzoni
Browse files

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: default avatarSimon Dawson <spdawson@gmail.com>
Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
parent b6d7ce7e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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))