Skip to content
Snippets Groups Projects
Commit 018d7c12 authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

se 0700 on archive dirs (couchdb2)

parent fcfe5f2e
Branches 7771-harden-postgres-backup
No related tags found
1 merge request!1557771 harden postgres backup
......@@ -162,7 +162,8 @@ function _doBackupOfSingleInstance(){
for _dir in "${ARCHIVE_DIR}" "${ARCHIVE_DIR}/seq" "${ARCHIVE_DIR}/security" \
"${ARCHIVE_DIR2}" "${ARCHIVE_DIR2}/seq" "${ARCHIVE_DIR2}/security"
do
test -d "$_dir" || (echo "creating $_dir" ; mkdir -p "$_dir" )
test -d "$_dir" || (echo "creating $_dir" ; mkdir -p "$_dir" )
chmod 0700 "$_dir"
done
local iChunksize=100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment