nginx + FollowSymLinks owner verification

Lekensteyn nginx-forum at nginx.us
Sat Jan 5 15:30:46 UTC 2013


Maxim, I found that the disable_symlinks option does not work properly when
the permissions are restrictive. Please see my observations on
http://serverfault.com/q/463243/51929.

In summary: ngx_file_info_wrapper() tries to open() a file if symlinks are
disabled. That fails if nginx does not have read permissions for the said
file.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,225152,234722#msg-234722



More information about the nginx mailing list