Skip to content

Commit

Permalink
Set permissions on backup dir (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
coudot committed Nov 4, 2019
1 parent f1caf6d commit 18ee121
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ chown -R root:root ${LDAPSERVERDIR}/var
# Specifically adapt some files/directories owner and permissions
chown -R ${LDAPUSER}:${LDAPGROUP} ${LDAPDATADIR}
chown -R ${LDAPUSER}:${LDAPGROUP} ${LDAPLOGSDIR}
chown -R ${LDAPUSER}:${LDAPGROUP} ${LDAPBACKUPDIR}
chown -R ${LDAPUSER}:${LDAPGROUP} ${LDAPSERVERDIR}/var/run
chown -R root:${LDAPGROUP} ${LDAPSERVERDIR}/etc/openldap/slapd.conf
chmod 640 ${LDAPSERVERDIR}/etc/openldap/slapd.conf
Expand Down

0 comments on commit 18ee121

Please sign in to comment.