Browse Source

[PHP-FPM] Fix permissions for global maps

andryyy 5 years ago
parent
commit
7db5bc01a4
1 changed files with 3 additions and 0 deletions
  1. 3 0
      data/Dockerfiles/phpfpm/docker-entrypoint.sh

+ 3 - 0
data/Dockerfiles/phpfpm/docker-entrypoint.sh

@@ -165,6 +165,9 @@ fi
 # Create dummy for custom overrides of mailcow style
 # Create dummy for custom overrides of mailcow style
 [[ ! -f /web/css/build/0081-custom-mailcow.css ]] && echo '/* Autogenerated by mailcow */' > /web/css/build/0081-custom-mailcow.css
 [[ ! -f /web/css/build/0081-custom-mailcow.css ]] && echo '/* Autogenerated by mailcow */' > /web/css/build/0081-custom-mailcow.css
 
 
+# Fix permissions for global filters
+chown -R 82:82 /global_sieve/*
+
 # Run hooks
 # Run hooks
 for file in /hooks/*; do
 for file in /hooks/*; do
   if [ -x "${file}" ]; then
   if [ -x "${file}" ]; then