<div dir="ltr">Thanks for reply. However, our developer just notified us that the directory with root owner was created by a cron which ran by user root and created that issue though I've slightly modified nginx user directive with following :<br><br>formerĀ <br>user www ;<div><br></div><div>later</div><div>user www www;</div><div><br></div><div>Regards.</div><div>Shahzaib</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 30, 2015 at 12:59 PM, wishmaster <span dir="ltr"><<a href="mailto:artemrts@ukr.net" target="_blank">artemrts@ukr.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<span class="">><br>
> Hi,<br>
><br>
><br>
> We've installed nginx + php-fpm on FreeBSD OS and both of them are listening on www user / group. Here is the config :<br>
><br>
> NGINX :<br>
><br>
> user www ;<br>
><br>
><br>
><br>
> PHP-FPM :<br>
><br>
><br>
> [www]<br>
> listen = /var/run/www.socket<br>
> user = www<br>
> group = www<br>
> listen.owner = www<br>
> listen.group = www<br>
> listen.allowed_clients = 127.0.0.1<br>
><br>
<br>
</span>I think you have mistake in the owner ownership.<br>
Below my config for nginx + php-fpm bundle..<br>
<br>
;;;;;;;;;;;;;;;;;;;;;;;; MY pool for Joomla CMS ;;;;;;;;;;<br>
<br>
[joomla1]<br>
<br>
user = www-joomla1<br>
group = www-joomla1<br>
listen = /var/run/php-fpm-joomla1.sock<br>
<br>
listen.owner = www-joomla1<br>
listen.group = www<br>
listen.mode = 0660<br>
<br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br></div>