Skip to content

Commit 9fb01cb

Browse files
author
Till Brehm
committed
Merge branch '6566-rspamd' into 'develop'
rspamd configuration files have execute bit set Closes #6566 See merge request ispconfig/ispconfig3!1796
2 parents 0e92974 + 235f2e3 commit 9fb01cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2049,7 +2049,7 @@ public function configure_rspamd() {
20492049
rename("/etc/rspamd/local.d/greylist.conf", "/etc/rspamd/local.d/greylist.old");
20502050
}
20512051

2052-
exec('chmod a+r /etc/rspamd/local.d/* /etc/rspamd/local.d/maps.d/* /etc/rspamd/override.d/*');
2052+
exec('chmod a+r,-x+X /etc/rspamd/local.d/* /etc/rspamd/local.d/maps.d/* /etc/rspamd/override.d/*');
20532053
# protect passwords in these files
20542054
exec('chgrp _rspamd /etc/rspamd/local.d/redis.conf /etc/rspamd/local.d/classifier-bayes.conf');
20552055
exec('chmod 640 /etc/rspamd/local.d/redis.conf /etc/rspamd/local.d/classifier-bayes.conf');

0 commit comments

Comments
 (0)