Permissions check

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

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