From 430ea923e0f59c87b0f897616a78d701e6ca1acf Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 7 Sep 2015 17:04:03 +0200 Subject: [PATCH] svc-map: do not specify user/group for install Since install is run as root already (using sudo), the resulting file will be already root:root. Change-Id: I6023fd277ea77fbfa4f7ad42b04d58c8cd6bd4fe --- elements/svc-map/extra-data.d/11-copy-svc-map-file | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elements/svc-map/extra-data.d/11-copy-svc-map-file b/elements/svc-map/extra-data.d/11-copy-svc-map-file index 4859f54f..671316fd 100755 --- a/elements/svc-map/extra-data.d/11-copy-svc-map-file +++ b/elements/svc-map/extra-data.d/11-copy-svc-map-file @@ -6,4 +6,4 @@ fi set -eu set -o pipefail -sudo install -D -o root -g root -m 0644 "$TMP_MOUNT_PATH/tmp/svc-map-services" "$TMP_MOUNT_PATH/usr/share/svc-map/services" +sudo install -D -m 0644 "$TMP_MOUNT_PATH/tmp/svc-map-services" "$TMP_MOUNT_PATH/usr/share/svc-map/services"