Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
TarqDirtyToMe
· 9y ago · 0 comments
In theory, to make the temp/cache directories more secure I imagine
Comments
[–]
dchest
9y ago
This would make sense if it created those directories, but IMHO it should fail to start if the path exists and isn't owned by www process. The function that does chown() is even called ngx_create_paths().
[–]
discordianfish
9y ago
I agreed, would at least consider it a bug if not a security issue.
[–]
TarqDirtyToMe
OP
9y ago
Definitely bad behavior. Ideally, no one but privileged users should be able to edit the configuration imho but this opens the door for attackers.
[–]
TarqDirtyToMe
OP
9y ago
Completely agree. Time for a PR?