Permissions check

Grant emailgrant at gmail.com
Sat May 18 01:34:43 UTC 2013


> I just updated nginx and was warned about permissions.  Are these appropriate:
>
> /var/log/nginx:
> drwxr-x--- root root
>
> /var/lib/nginx/tmp and /var/lib/nginx/tmp/*:
> drwx------ nginx nginx
>
> - Grant

Whoops, please make that:

/var/lib/nginx/tmp and /var/lib/nginx/tmp/*:
drwx------ apache nginx

With nginx running as user "apache".

- Grant



More information about the nginx mailing list