Ownership of users file

This commit is contained in:
Bob Mottram 2016-11-16 19:03:34 +00:00
parent a3081d5c61
commit b45fc21345
1 changed files with 1 additions and 0 deletions

View File

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