From b0953217e8b4136c25a7ce6bbcb544c7e2d32146 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 13 Mar 2024 04:32:41 +0300 Subject: [PATCH] Save : Use sudo for rcp. --- module/common/bash/module/Save.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/common/bash/module/Save.sh b/module/common/bash/module/Save.sh index 911b7e26..6b1e7f0e 100644 --- a/module/common/bash/module/Save.sh +++ b/module/common/bash/module/Save.sh @@ -12,7 +12,7 @@ function save() { done _info "Uploading..." - try rcp "${files[@]}" home:/storage/cold_1/backup/save/ + try sudo rcp "${files[@]}" home:/storage/cold_1/backup/save/ _info "Cleaning..." archive_prune 2> /dev/null