Explorar el Código

Ownership of users file

Bob Mottram hace 8 años
padre
commit
b45fc21345
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1
    0
      src/freedombone-app-radicale

+ 1
- 0
src/freedombone-app-radicale Ver fichero

@@ -67,6 +67,7 @@ function add_user_radicale {
67 67
 
68 68
     if ! grep "$new_username:" ${RADICALE_USERS}; then
69 69
         htpasswd -bd ${RADICALE_USERS} "$new_username" "$new_user_password"
70
+        chown www-data:www-data ${RADICALE_USERS}
70 71
         systemctl reload radicale
71 72
     fi
72 73
     echo '0'