mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
fix(regen_conf/ldap): sometime those directories permissions changes and it breaks ldap
This commit is contained in:
parent
b388ca7f43
commit
587a09de62
1 changed files with 3 additions and 0 deletions
|
@ -38,6 +38,9 @@ EOF
|
||||||
# Enforce permissions
|
# Enforce permissions
|
||||||
chown -R openldap:openldap /etc/ldap/schema/
|
chown -R openldap:openldap /etc/ldap/schema/
|
||||||
usermod -aG ssl-cert openldap
|
usermod -aG ssl-cert openldap
|
||||||
|
# if those aren't done slapd won't start
|
||||||
|
chmod o+x /host-certificates/live/
|
||||||
|
chmod o+x /host-certificates/archive/
|
||||||
|
|
||||||
# (Re-)init data according to default ldap entries
|
# (Re-)init data according to default ldap entries
|
||||||
echo ' Initializing LDAP with YunoHost DB structure'
|
echo ' Initializing LDAP with YunoHost DB structure'
|
||||||
|
|
Loading…
Add table
Reference in a new issue