浏览代码

[PHP-FPM] Fix permissions for global maps

andryyy 5 年之前
父节点
当前提交
7db5bc01a4
共有 1 个文件被更改,包括 3 次插入0 次删除
  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
 [[ ! -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
 for file in /hooks/*; do
   if [ -x "${file}" ]; then