|
Site folder permissions - non FQ
Hello:
I thought I would ask here as well, I know there are many helpful people here.
On a non-FQ server, for /var/www what user/group do YOU run as?
root:root
user:user
root:www-data
www-data:www-data
somethingelse:somethingelse
I am migrating to a new server with SSD drives and latest Ubuntu, but having some file writing permission issues. On the old server, some things are owned by root and some are user. I have crontab running perl scripts that write to /var/www throughout the day, and some things are not being written on the new server.
I have been searching, and there are so many different ways to do the ownership of /var/www that I don't know what is the best answer.
I want to clean house so to speak, so that I can do a global permissions change to everything in /var/www but not sure what is best.
Your thoughts on this are appreciated.
Thanks!
John
__________________
Klaatu: I won't resort to threats, Mr. Harley. I merely tell you the future of your planet is at stake.
The Day the Earth Stood Still (1951)
|