summaryrefslogtreecommitdiffstats
path: root/auth/sample/backup
diff options
context:
space:
mode:
authorInstrumental <jonathan.gathman@att.com>2018-09-17 06:46:59 -0500
committerInstrumental <jonathan.gathman@att.com>2018-09-17 06:47:20 -0500
commite72d3300a54026cb317d2563c6449ffbb91b8b57 (patch)
tree2935dbc61a0fc3b1b621ae7aeeefc1e56db32c57 /auth/sample/backup
parent31724de8ac6df8efd7aca6faed3770112e50e6c4 (diff)
Cass Init Data
Issue-ID: AAF-420 Change-Id: I94dbc5f8fc371eab6e28f03011578e1eb33872a3 Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/sample/backup')
-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