TPerry
Well-known member
Let's say your files for the forum are in /var/www/htmlThanks for your reply. Do I need to run this command as it is after the cd?Code:chown -R www-data:www-data *
cd /var/www/html
chown -R www-data:www-data *
That should recursively assign the own to user www-data and group www-data for all your files/directories in that location.
If you are using CentOS with Centmin Mod, the owner will be different. I believe it's nginx:nginx, and if using OpenLiteSpeed on Debian it's nobody:nogroup.
Last edited: