]> git.kaiwu.me - nginx.git/commit
Core: ngx_conf_set_access_slot() user access (ticket #1096).
authorMaxim Dounin <mdounin@mdounin.ru>
Fri, 7 Oct 2016 13:59:14 +0000 (16:59 +0300)
committerMaxim Dounin <mdounin@mdounin.ru>
Fri, 7 Oct 2016 13:59:14 +0000 (16:59 +0300)
commit4c4fdc475450d4faa5a996ff0087ef005ee8a232
tree7752a94eaf758ece98086296c11850f6c14dde62
parent52892835ef16ea15a77e2407099e0de0dfcc8a28
Core: ngx_conf_set_access_slot() user access (ticket #1096).

Previously, user access bits were always set to "rw" unconditionally,
even with "user:r" explicitly specified.  With this change we only add
default user access bits (0600) if they weren't set explicitly.
src/core/ngx_file.c