I'm wondering what the proper owner of a web project is. E.g. /var/www/foo. If I work alone, I'd do: chown -R myUser:www-data
I don't set the web user as the owner because of security reasons. E.g. I need to be able to change config files, the web server doesn't. Often you see people adding their user to the www-data group etc. but I think the way above is more restrictive. Right?
If thats right, what do you do in a project where multiple persons are involved? Do you create a project user or what do you do?
Thanks
Aucun commentaire:
Enregistrer un commentaire