瀏覽代碼

Make /decrypted/roundcube writeable by www-user

The directory `/decrypted/roundcube` is not writeable by the user
`www-data`.  This leads to "unable to connect to the database" errors
from roundcube on new installs.  This patch corrects the problem.
Pavel Karoukin 7 年之前
父節點
當前提交
9df8d06f2c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      roles/webmail/tasks/roundcube.yml

+ 1
- 1
roles/webmail/tasks/roundcube.yml 查看文件

@@ -51,7 +51,7 @@
51 51
   template: src=var_www_roundcube_config_config.inc.j2 dest=/var/www/roundcube/config/config.inc.php
52 52
 
53 53
 - name: Create db directory
54
-  file: path=/decrypted/roundcube mode=0775 state=directory
54
+  file: path=/decrypted/roundcube group=www-data mode=0775 state=directory
55 55
 
56 56
 - name: Make logs and temp directories writable by web server
57 57
   file: path=/var/www/roundcube/{{ item }} mode=0775 state=directory

Loading…
取消
儲存