log files as non root user

Jugurtha nginx-forum at nginx.us
Wed Jul 29 13:53:22 UTC 2015


Hello,

If you start your nginx process with root (login), your master process will
start with root but the "worker process" and "cache manager" with
usradmin:mwgroup  (you can test with this command "ps aux | grep nginx")

you can try to start nginx with usradmin account : "su - usradmin ;
/etc/init.d/nginx start", this will solve the rights issue

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,260593,260622#msg-260622



More information about the nginx mailing list