From 0e8dafcb3e1ddb7935c1c8c305e7e5598be30315 Mon Sep 17 00:00:00 2001 From: Simon Dawson Date: Sat, 4 Aug 2012 21:11:01 +0100 Subject: 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 Signed-off-by: Thomas Petazzoni --- package/sudo/sudo.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/sudo') diff --git a/package/sudo/sudo.mk b/package/sudo/sudo.mk index 9b0ebed57..15e06fa3d 100644 --- a/package/sudo/sudo.mk +++ b/package/sudo/sudo.mk @@ -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)) -- cgit v1.2.3