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
No related branches found
No related tags found
1 merge request!1557771 harden postgres backup
...@@ -163,6 +163,7 @@ function _doBackupOfSingleInstance(){ ...@@ -163,6 +163,7 @@ function _doBackupOfSingleInstance(){
"${ARCHIVE_DIR2}" "${ARCHIVE_DIR2}/seq" "${ARCHIVE_DIR2}/security" "${ARCHIVE_DIR2}" "${ARCHIVE_DIR2}/seq" "${ARCHIVE_DIR2}/security"
do do
test -d "$_dir" || (echo "creating $_dir" ; mkdir -p "$_dir" ) test -d "$_dir" || (echo "creating $_dir" ; mkdir -p "$_dir" )
chmod 0700 "$_dir"
done done
local iChunksize=100 local iChunksize=100
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment