Skip to main content

Permission, apache user and www folder in Linux

The httpd process runs with
apache user/group credential, while /var/www/html folder is
owned by root
user/group.



What's the best practice to manage
permissions on public html folder? Leave them as owned by root
or assign each file and folder to the apache
user?

Comments