Ownership of users file
This commit is contained in:
parent
a3081d5c61
commit
b45fc21345
|
@ -67,6 +67,7 @@ function add_user_radicale {
|
||||||
|
|
||||||
if ! grep "$new_username:" ${RADICALE_USERS}; then
|
if ! grep "$new_username:" ${RADICALE_USERS}; then
|
||||||
htpasswd -bd ${RADICALE_USERS} "$new_username" "$new_user_password"
|
htpasswd -bd ${RADICALE_USERS} "$new_username" "$new_user_password"
|
||||||
|
chown www-data:www-data ${RADICALE_USERS}
|
||||||
systemctl reload radicale
|
systemctl reload radicale
|
||||||
fi
|
fi
|
||||||
echo '0'
|
echo '0'
|
||||||
|
|
Loading…
Reference in New Issue