Local LAMP Stack on Linux Mint theme upload fails

the apache server didn’t have rights to access the folders it seems. i made it owner over the wordpress folder by issueing following command:

sudo chown -R www-data:www-data /var/www/html/wordpress

and now it works.

tech