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
......@@ -163,6 +163,7 @@ function _doBackupOfSingleInstance(){
"${ARCHIVE_DIR2}" "${ARCHIVE_DIR2}/seq" "${ARCHIVE_DIR2}/security"
do
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.
Please register or to comment