diff --git a/scripts/install b/scripts/install index fbf9806..c0c341a 100755 --- a/scripts/install +++ b/scripts/install @@ -125,7 +125,7 @@ sed -i "s@LOGTOCHANGE@$final_logpath@g" ../conf/logrotate # This contains the sync status in between device and z-push sed -i "s@STATEDIRTOCHANGE@$statedir@g" ../conf/config.php sudo mkdir -p $statedir -sudo chown -R www:data-www-data $statedir +sudo chown -R www-data:www-data $statedir # Enable caldav carddav support if sudo yunohost app list --installed -f baikal | grep -q id ; then diff --git a/scripts/upgrade b/scripts/upgrade index 93e20c1..02e7a7b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,7 +84,7 @@ sed -i "s@LOGTOCHANGE@$final_logpath@g" ../conf/logrotate # This contains the sync status in between device and z-push sed -i "s@STATEDIRTOCHANGE@$statedir@g" ../conf/config.php sudo mkdir -p $statedir -sudo chown -R www:data-www-data $statedir +sudo chown -R www-data:www-data $statedir # Note : there is a "fixstates actions done after the sources have been installed and configured # Enable caldav carddav support