I have created a user that I called netbean
Netbean is part of three group:
- netbean (obviously),
- www-data (that is the group the apache server runs under)
- sudo (to have the sudo rights just in case).
I use it to manage the upload of files from my laptop (where i develop) to the webserver.
Issue is that if I try to cd to /var/www/html as netbean i get a permission denied. /var/www/html is modded at 665 and is owned by www-data:www-data.
I don't understand why I get a permission denied since it is read and write for www-data and for the users in the www-data group