diff --git a/roundcubemail-httpd.conf b/roundcubemail-httpd.conf
index c1e7f72..a49b0b0 100644
--- a/roundcubemail-httpd.conf
+++ b/roundcubemail-httpd.conf
@@ -36,7 +36,6 @@ AddType text/x-component .htc
Allow from all
- # WARNING: For PHP 7 the module name in the line below need to be modified!
php_flag display_errors Off
php_flag log_errors On
@@ -60,6 +59,29 @@ AddType text/x-component .htc
php_value session.gc_probability 1
+
+ php_flag display_errors Off
+ php_flag log_errors On
+ #php_value error_log logs/errors
+
+ php_value upload_max_filesize 5M
+ php_value post_max_size 6M
+ php_value memory_limit 64M
+
+ php_flag register_globals Off
+ php_flag zlib.output_compression Off
+ php_flag magic_quotes_gpc Off
+ php_flag magic_quotes_runtime Off
+ php_flag suhosin.session.encrypt Off
+
+ #php_value session.cookie_path /
+ #php_value session.hash_function sha256
+ php_flag session.auto_start Off
+ php_value session.gc_maxlifetime 21600
+ php_value session.gc_divisor 500
+ php_value session.gc_probability 1
+
+
Options +SymLinksIfOwnerMatch
RewriteEngine On
diff --git a/roundcubemail.changes b/roundcubemail.changes
index 6823481..7d3776e 100644
--- a/roundcubemail.changes
+++ b/roundcubemail.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Fri Feb 16 08:06:57 UTC 2018 - ecsos@opensuse.org
+
+- fix rights for enigma plugin
+
-------------------------------------------------------------------
Mon Feb 5 19:14:45 UTC 2018 - jengelh@inai.de
diff --git a/roundcubemail.spec b/roundcubemail.spec
index 804a8ea..8df3d42 100644
--- a/roundcubemail.spec
+++ b/roundcubemail.spec
@@ -296,5 +296,7 @@ exit 0
%{_datadir}/php%{php_major_version}/Roundcube/
%attr(-, wwwrun, root) %{_localstatedir}/log/%{name}
%attr(-, wwwrun, root) %{_localstatedir}/lib/%{name}
+# RW need for PGP plugin
+%attr(0700, wwwrun, root) %dir %{roundcubepath}/plugins/enigma/home
%changelog