diff options
| author | danbst <abcz2.uprola@gmail.com> | 2019-12-26 14:16:29 +0200 |
|---|---|---|
| committer | danbst <abcz2.uprola@gmail.com> | 2019-12-26 14:16:29 +0200 |
| commit | 50d6e93dc8ce18c22f01989a92390ff21000191f (patch) | |
| tree | 16f1aaa919164fd0e4bcc5944dc5a2cc42705732 /pkgs/development/python-modules/python-sql | |
| parent | 98e6a8b5792b960c9f21b8836421b02f1ccdccfd (diff) | |
nixos/nginx: fixup permissions for Nginx state dir
The commit b0bbacb52134a7e731e549f4c0a7a2a39ca6b481 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.
Diffstat (limited to 'pkgs/development/python-modules/python-sql')
0 files changed, 0 insertions, 0 deletions
