Y
Hacker News
new
|
ask
|
show
|
jobs
by
TarqDirtyToMe
3380 days ago
In theory, to make the temp/cache directories more secure I imagine
1 comments
dchest
3380 days 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().
link
discordianfish
3380 days ago
I agreed, would at least consider it a bug if not a security issue.
link
TarqDirtyToMe
3380 days 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.
link
TarqDirtyToMe
3380 days ago
Completely agree. Time for a PR?
link