From 96f90b2ca6cb2999b42749808e89bd8bba0b87d8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 25 Apr 2013 16:51:48 +0200 Subject: [PATCH] Eeek. we want this sudo --- modules/roles/files/static-mirroring/static-update-component | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/roles/files/static-mirroring/static-update-component b/modules/roles/files/static-mirroring/static-update-component index d2abf22d..2cae0b8b 100755 --- a/modules/roles/files/static-mirroring/static-update-component +++ b/modules/roles/files/static-mirroring/static-update-component @@ -73,7 +73,7 @@ if [ "$srchost" = "$thishost" ] && ! [ -d "$srcdir" ]; then fi if [ "`id -nu`" != "staticsync" ]; then - static-update-component "$@" + sudo -u staticsync static-update-component "$@" else ssh -o AddressFamily=inet -t -o ServerAliveInterval=300 -o PreferredAuthentications=publickey "$masterhost" static-master-update-component "$component" fi -- 2.39.2