aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--centos/rspamd.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec
index c9d539182..6852c98db 100644
--- a/centos/rspamd.spec
+++ b/centos/rspamd.spec
@@ -118,6 +118,8 @@ rm -rf %{buildroot}
%endif
%post
+#to allow easy upgrade from 0.8.1
+chown -R %{rspamd_user}:%{rspamd_group} %{rspamd_home}
%if 0%{?suse_version}
%service_add_post %{name}.service
%service_add_post %{name}.socket