nixpkgs-suyu/nixos
danbst 50d6e93dc8 nixos/nginx: fixup permissions for Nginx state dir
The commit b0bbacb521 was a bit too fast
It did set executable bit for log files.

Also, it didn't account for other directories in state dir:
```
 # ls -la /var/spool/nginx/
total 32
drwxr-x--- 8 nginx nginx 4096 Dec 26 12:00 .
drwxr-xr-x 4 root  root  4096 Oct 10 20:24 ..
drwx------ 2 root  root  4096 Oct 10 20:24 client_body_temp
drwx------ 2 root  root  4096 Oct 10 20:24 fastcgi_temp
drwxr-x--- 2 nginx nginx 4096 Dec 26 12:00 logs
drwx------ 2 root  root  4096 Oct 10 20:24 proxy_temp
drwx------ 2 root  root  4096 Oct 10 20:24 scgi_temp
drwx------ 2 root  root  4096 Oct 10 20:24 uwsgi_temp
```

With proposed change, only ownership is changed for state files, and mode is left as is
except that statedir/logs is now group accessible.
2019-12-26 14:16:29 +02:00
..
doc nixos/manual: fixing links for awstats release note (#76500) 2019-12-25 21:06:18 +02:00
lib nixos/python-test-driver: add an option to disable python linter 2019-12-22 19:27:43 +01:00
maintainers
modules nixos/nginx: fixup permissions for Nginx state dir 2019-12-26 14:16:29 +02:00
tests Merge pull request #76410 from nh2/mumble-test-python 2019-12-26 02:33:43 +01:00
COPYING
default.nix
README
release-combined.nix nixos/nfs: test nfs with kerberos authentication 2019-12-12 15:42:44 +00:00
release-small.nix
release.nix

*** NixOS ***

NixOS is a Linux distribution based on the purely functional package
management system Nix.  More information can be found at
http://nixos.org/nixos and in the manual in doc/manual.