From 629a59ca698a0e3d3a0a29d5f2245c0e19808849 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 22 Aug 2014 16:54:56 +0200 Subject: vt protocols MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b9cb6ed..67fe54e 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,9 @@ LIBOBJ = linked-list client-list hash-table fd-table mds-message util SERVERS = mds mds-respawn mds-server mds-echo mds-registry mds-clipboard \ mds-kkbd mds-vt +# Servers that need setuid and root owner. +SETUID_SERVERS = mds mds-vt + OBJ_mds-server_ = mds-server interception-condition client multicast \ @@ -40,8 +43,8 @@ include mk/build.mk .PHONY: perms perms: all - sudo chown 'root:root' bin/mds - sudo chmod 4755 bin/mds + sudo chown 'root:root' $(foreach S,$(SETUID_SERVERS),bin/$(S)) + sudo chmod 4755 $(foreach S,$(SETUID_SERVERS),bin/$(S)) # Clean rules. -- cgit v1.2.3-70-g09d2