Added custom ldif directory in write permission check targets for postunpack.
This commit is contained in:
parent
62185a18d1
commit
ce74481fca
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue