Skip to content

Commit

Permalink
Merge pull request #41 from Worteks/issue-40-backup-directory
Browse files Browse the repository at this point in the history
Set permissions on backup dir (#40)
  • Loading branch information
davidcoutadeur authored Nov 4, 2019
2 parents f1caf6d + 18ee121 commit 6b6fe95
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 6b6fe95

Please sign in to comment.