summaryrefslogtreecommitdiffstats
path: root/auth/sample/backup/backup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auth/sample/backup/backup.sh')
-rw-r--r--auth/sample/backup/backup.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth/sample/backup/backup.sh b/auth/sample/backup/backup.sh
index 1359d3de..6afdf90c 100644
--- a/auth/sample/backup/backup.sh
+++ b/auth/sample/backup/backup.sh
@@ -29,4 +29,7 @@ docker container cp $BD/cbackup.sh aaf_cass:/opt/app/cass_backup/backup.sh
# echo "login as Root, then run \nbash /opt/app/cass_backup/backup.sh"
docker exec -t aaf_cass bash /opt/app/cass_backup/backup.sh
docker container cp aaf_cass:/opt/app/cass_backup/. $BD/today
+for PRIV in cred x509; do
+ chmod 600 $BD/today/$PRIV.dat
+done
date