Copyright 2022 - Custom text here

Apache on Ubuntu

Change Owner from www-data to claudio

vi /etc/apache2/envvars

 

export APACHE_RUN_USER=claudio
export APACHE_RUN_GROUP=claudio

 

Change owner from www-data to claudio on filesystem:

service apache2 stop

find / -user www-data -print0 | xargs -0 -r chown claudio

find / -group www-data -print0 | xargs -0 -r chgrp claudio

service apache2 start

 

f t g m