Commit ac4fce23 authored by Andreas Mann's avatar Andreas Mann
Browse files

install permission

parent c7c058e3
......@@ -62,23 +62,23 @@ if [ ! -e .mongodb_data ];then
# parent bkup dir for this pod
mkdir -p ${PATH_BKUP_DIR}/$POD_NAME_SVC >> $SCRIPT_DIR/$LOGFILE_NAME
podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC
#podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC
# backups created here
mkdir -p ${PATH_BKUP_DIR}/$POD_NAME_SVC/incoming
podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/incoming
#podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/incoming
mkdir -p ${PATH_BKUP_DIR}/$POD_NAME_SVC/backup.daily
podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/backup.daily
#podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/backup.daily
mkdir -p ${PATH_BKUP_DIR}/$POD_NAME_SVC/backup.weekly
podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/backup.weekly
#podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/backup.weekly
mkdir -p ${PATH_BKUP_DIR}/$POD_NAME_SVC/backup.monthly
podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/backup.monthly
#podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/backup.monthly
mkdir -p ${PATH_BKUP_DIR}/$POD_NAME_SVC/restore
podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/restore
#podman unshare chown $POD_USER_ID:$POD_USER_ID -R ${PATH_BKUP_DIR}/$POD_NAME_SVC/restore
# copy readme to parent bkup dir
cp ${SCRIPT_DIR}/README_BKUP.md ${PATH_BKUP_DIR}/$POD_NAME_SVC/
......
......@@ -14,7 +14,7 @@
#fi
# service admin e-mail
sysadmin_email="andreas.mann@dkfz-heidelberg.de";
sysadmin_email="noreply@example.com";
# hostname
host_name=$(hostname);
......
......@@ -14,7 +14,7 @@
#fi
# service admin e-mail
sysadmin_email="andreas.mann@dkfz-heidelberg.de";
sysadmin_email="noreply@example.com";
# hostname
host_name=$(hostname);
......
......@@ -14,7 +14,7 @@
#fi
# service admin e-mail
sysadmin_email="andreas.mann@dkfz-heidelberg.de";
sysadmin_email="noreply@example.com";
# hostname
host_name=$(hostname);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment