On some weird setup, this folder and content ain't readable by group ... gotta make sure to make rx for group other slapd will explode

This commit is contained in:
Alexandre Aubin 2020-03-27 21:40:22 +01:00
parent 8fe343aad0
commit e54ca72068

View file

@ -81,6 +81,7 @@ do_post_regen() {
chown -R openldap:openldap /etc/ldap/slapd.d/ chown -R openldap:openldap /etc/ldap/slapd.d/
chown -R root:ssl-cert /etc/yunohost/certs/yunohost.org/ chown -R root:ssl-cert /etc/yunohost/certs/yunohost.org/
chmod o-rwx /etc/yunohost/certs/yunohost.org/ chmod o-rwx /etc/yunohost/certs/yunohost.org/
chmod -R g+rx /etc/yunohost/certs/yunohost.org/
[ -z "$regen_conf_files" ] && exit 0 [ -z "$regen_conf_files" ] && exit 0