make sync needs to set extra permissions as well
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 2 Jul 2013 10:07:23 +0000 (12:07 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 2 Jul 2013 10:07:23 +0000 (12:07 +0200)
Makefile

index 3df59e1..453ddc4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,8 @@ ifeq (,$(NODEURL))
 else
        +$(RSYNC) ./lxcsu ./lxcsu-internal ./vsh.c ./Makefile.vsh $(NODEURL)/usr/sbin/
        ssh -i $(NODE).key.rsa root@$(NODE) make -C /usr/sbin -f Makefile.vsh vsh
+       ssh -i $(NODE).key.rsa root@$(NODE) chown root:root /usr/sbin/lxcsu /usr/sbin/vsh
+       ssh -i $(NODE).key.rsa root@$(NODE) chmod u+s /usr/sbin/lxcsu /usr/sbin/vsh
 endif
 
 ### fetching the key