Selaa lähdekoodia

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 8 vuotta sitten
vanhempi
commit
9df8d06f2c
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      roles/webmail/tasks/roundcube.yml

+ 1
- 1
roles/webmail/tasks/roundcube.yml Näytä tiedosto

@@ -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…
Peruuta
Tallenna