On 29 Jul 2011 20h29 WEST, nginx-forum@nginx.us wrote:
> Yes, I run nginx as www-data; I just meant creating files and
> folders by root. My own PC run on Ubuntu; thus I connect to server
> through OS explorer. I connect to server via sftp with root
> user. Then, when I create a folder or php file its ownership belongs
> to root. I just asked if it is necessary to create each and every
> file and folder by nginx or site user? or it is OK to be owned by
> root?
No. It is not OK to be owned by root. Read my previous reply in the
thread.
--- appa
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx