LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Quick Nginx User and Group Question (https://www.linuxquestions.org/questions/linux-server-73/quick-nginx-user-and-group-question-914144/)

The Unincorporated Man 11-17-2011 07:24 PM

Quick Nginx User and Group Question
 
Does the user or group as defined in nginx/conf/nginx.conf need r, w, or x permissions on any particular folder, such as public_html or ../nginx/some-folder? Can you get away with specifying an unprivileged user and group?

I ask because user "nobody" owns /usr/local/nginx/{client_body_temp,fastcgi_temp,proxy_temp,scgi_temp/}. Which leads to a related issue: if I specify an unprivileged user and group in nginx.conf, do I then need to chown the above nginx/{blah,blah} and public_html directories accordingly?

Thanks


All times are GMT -5. The time now is 07:00 PM.