From de6953598bc38b16cae0429ccbd539acfcb4627d Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Thu, 18 Sep 2025 23:26:33 +0700 Subject: [PATCH] [tools] Chmod upload_to_cdn.sh and note about sudo usage Signed-off-by: Konstantin Pastbin --- tools/unix/maps/upload_to_cdn.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) mode change 100644 => 100755 tools/unix/maps/upload_to_cdn.sh diff --git a/tools/unix/maps/upload_to_cdn.sh b/tools/unix/maps/upload_to_cdn.sh old mode 100644 new mode 100755 index 51f54272f..f3462fc66 --- a/tools/unix/maps/upload_to_cdn.sh +++ b/tools/unix/maps/upload_to_cdn.sh @@ -25,11 +25,12 @@ set -e -u if [ $# -eq 0 ]; then echo "Usage: upload_to_cdn.sh MAPS_PATH" - echo "e.g. upload_to_cdn.sh osm-maps/2025_09_06__09_48_08/250906" + echo "e.g. sudo upload_to_cdn.sh osm-maps/2025_09_06__09_48_08/250906" echo "uploads are run in parallel to us2,ru1,fi1,de1 servers," echo "subsequent runs will update only missing/differing files," echo "so its fine to run second time to ensure there were no incomplete transfers" echo "or to run on an unfinished generation first and then again after its fully finished." + echo "(sudo is needed to access rclone.conf with servers credentials)" exit 1 fi