From a1971f7af86894129567adc5023d15c439ee0200 Mon Sep 17 00:00:00 2001 From: andryyy Date: Wed, 30 Oct 2019 14:40:00 +0100 Subject: [PATCH] [Rspamd] Set correct parent permission --- data/Dockerfiles/rspamd/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/Dockerfiles/rspamd/docker-entrypoint.sh b/data/Dockerfiles/rspamd/docker-entrypoint.sh index 84919dc4..059fe78f 100755 --- a/data/Dockerfiles/rspamd/docker-entrypoint.sh +++ b/data/Dockerfiles/rspamd/docker-entrypoint.sh @@ -61,7 +61,7 @@ touch /etc/rspamd/custom/global_mime_from_blacklist.map \ /etc/rspamd/custom/bad_words_de.map # www-data (82) group needs to write to these files -chown root:root /etc/rspamd/custom/ +chown _rspamd:_rspamd /etc/rspamd/custom/ chmod 0755 /etc/rspamd/custom/ chown -R _rspamd:www-access /etc/rspamd/custom/* chmod -R 664 /etc/rspamd/custom/*