summary refs log tree commit diff
path: root/pkgs/applications/graphics/sxiv/default.nix
diff options
context:
space:
mode:
authordanbst <abcz2.uprola@gmail.com>2019-12-26 14:16:29 +0200
committerdanbst <abcz2.uprola@gmail.com>2019-12-26 14:16:29 +0200
commit50d6e93dc8ce18c22f01989a92390ff21000191f (patch)
tree16f1aaa919164fd0e4bcc5944dc5a2cc42705732 /pkgs/applications/graphics/sxiv/default.nix
parent98e6a8b5792b960c9f21b8836421b02f1ccdccfd (diff)
downloadnixpkgs-50d6e93dc8ce18c22f01989a92390ff21000191f.tar
nixpkgs-50d6e93dc8ce18c22f01989a92390ff21000191f.tar.gz
nixpkgs-50d6e93dc8ce18c22f01989a92390ff21000191f.tar.bz2
nixpkgs-50d6e93dc8ce18c22f01989a92390ff21000191f.tar.lz
nixpkgs-50d6e93dc8ce18c22f01989a92390ff21000191f.tar.xz
nixpkgs-50d6e93dc8ce18c22f01989a92390ff21000191f.tar.zst
nixpkgs-50d6e93dc8ce18c22f01989a92390ff21000191f.zip
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/applications/graphics/sxiv/default.nix')
0 files changed, 0 insertions, 0 deletions