diff options
Diffstat (limited to 'net/openldap25-server/files/slapd.in')
-rw-r--r-- | net/openldap25-server/files/slapd.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/openldap25-server/files/slapd.in b/net/openldap25-server/files/slapd.in index 620c2f4d255c..bdc2ad538a74 100644 --- a/net/openldap25-server/files/slapd.in +++ b/net/openldap25-server/files/slapd.in @@ -99,13 +99,13 @@ start_precmd() mkdir -p "${DBDIR}" [ -f "%%PREFIX%%/etc/openldap/DB_CONFIG.example" ] && cp "%%PREFIX%%/etc/openldap/DB_CONFIG.example" "${DBDIR}/DB_CONFIG" fi - chown -RL "$slapd_owner" "${DBDIR}" + chown -fRL "$slapd_owner" "${DBDIR}" chmod 700 "${DBDIR}" done chown "$slapd_owner" "%%LDAP_RUN_DIR%%" if checkyesno slapd_cn_config; then - chown -R $slapd_owner "%%PREFIX%%/etc/openldap/slapd.d" + chown -fR $slapd_owner "%%PREFIX%%/etc/openldap/slapd.d" else chown $slapd_owner "%%PREFIX%%/etc/openldap/slapd.conf" fi |