From 6736c0a6fb4a20cdf98d014d9bca48afad314b61 Mon Sep 17 00:00:00 2001 From: Oleksandr Kolomeiets Date: Tue, 24 Jan 2023 23:42:56 -0800 Subject: [PATCH] Set owner after restoring counters folder during warmboot Signed-off-by: Oleksandr Kolomeiets --- files/image_config/warmboot-finalizer/finalize-warmboot.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/files/image_config/warmboot-finalizer/finalize-warmboot.sh b/files/image_config/warmboot-finalizer/finalize-warmboot.sh index 412559289026..fc1fbdad7159 100755 --- a/files/image_config/warmboot-finalizer/finalize-warmboot.sh +++ b/files/image_config/warmboot-finalizer/finalize-warmboot.sh @@ -112,6 +112,7 @@ function restore_counters_folder() cache_counters_folder="/host/counters" if [[ -d $cache_counters_folder ]]; then mv $cache_counters_folder /tmp/cache + chown -R admin:admin /tmp/cache fi }