Browse Source

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 years ago
parent
commit
9df8d06f2c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      roles/webmail/tasks/roundcube.yml

+ 1
- 1
roles/webmail/tasks/roundcube.yml View File

51
   template: src=var_www_roundcube_config_config.inc.j2 dest=/var/www/roundcube/config/config.inc.php
51
   template: src=var_www_roundcube_config_config.inc.j2 dest=/var/www/roundcube/config/config.inc.php
52
 
52
 
53
 - name: Create db directory
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
 - name: Make logs and temp directories writable by web server
56
 - name: Make logs and temp directories writable by web server
57
   file: path=/var/www/roundcube/{{ item }} mode=0775 state=directory
57
   file: path=/var/www/roundcube/{{ item }} mode=0775 state=directory

Loading…
Cancel
Save