My question is pretty general. Lets assume I have a linux distribution web server, with the /var/www/
is the web directory. I used my superuser account to upload and unzip the Joomla installation .zip
file.
The linux system user for web users is called www-data
. Anyway, my question is who should be the ONWER of the folders and files in the web directory of the linux system? Right now, because I used my superuser account to unzip the files, all the folders and files are owned by the super user, and therefore come up in the joomla admin system as being unwritable. I am just a little hesitant to set the www-data
user as the owner of the files. Is this OK?
Just for reference, in linux i would change the owner of the folders and files with chown
and change the group with chgrp
.
Thanks!