Apache2 permissions “hack”
It’s not stupid if [the last part] works, right? Right? 1. We need a new group: website 2. We need a user: frank 3. Simple website where everything is put into /var/www/html/ sudo addgroup website sudo adduser frank website sudo adduser www-data website Let’s see if Frank belongs to the right groups: groups frank The result should look so…
---
https://3xn.nl/projects/2024/08/04/apache2-permissions-hack/
---
#apache2 #chown #html #newgrp #ownership #permissions
Apache2 permissions “hack” – Fox’s Projects

I hope to remember next day that #newgrp allows you to switch to a new group instead of having to logout and then login.