Skip to content

Commit 342fef5

Browse files
committed
fix chown in restore_backup
1 parent 319a50d commit 342fef5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mytonctrl/scripts/restore_backup.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ rm -rf /var/ton-work/db/keyring
4343

4444
chown -R $user:$user ${tmp_dir}/mytoncore
4545
chown -R $user:$user ${tmp_dir}/keys
46+
chown validator:validator ${tmp_dir}/keys
47+
chown -R validator:validator ${tmp_dir}/db
4648

4749
cp -rfp ${tmp_dir}/db /var/ton-work
4850
cp -rfp ${tmp_dir}/keys /var/ton-work

0 commit comments

Comments
 (0)