visto che la sicurezza non è prioritaria, metti l'utente www-data nel gruppo root.