소스 검색

Ownership of users file

Bob Mottram 8 년 전
부모
커밋
b45fc21345
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/freedombone-app-radicale

+ 1
- 0
src/freedombone-app-radicale 파일 보기

@@ -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'