Added custom ldif directory in write permission check targets for postunpack.

This commit is contained in:
Benjamin Guillon 2020-10-29 11:36:05 +01:00
parent 62185a18d1
commit ce74481fca
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ set -o pipefail
eval "$(ldap_env)"
# Ensure non-root user has write permissions on a set of directories
for dir in "$LDAP_SHARE_DIR" "$LDAP_DATA_DIR" "$LDAP_ONLINE_CONF_DIR" "${LDAP_BASE_DIR}/var"; do
for dir in "$LDAP_SHARE_DIR" "$LDAP_DATA_DIR" "$LDAP_ONLINE_CONF_DIR" "${LDAP_BASE_DIR}/var" "$LDAP_CUSTOM_LDIF_DIR"; do
ensure_dir_exists "$dir"
chmod -R g+rwX "$dir"
done