nginx + FollowSymLinks owner verification

Valentin V. Bartenev vbart at nginx.com
Sat Jan 5 16:26:00 UTC 2013


On Saturday 05 January 2013 19:30:46 Lekensteyn wrote:
> 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.
> 

So, you found exactly what the documentation says: 
http://nginx.org/r/disable_symlinks

 wbr, Valentin V. Bartenev

--
http://nginx.com/support.html
http://nginx.org/en/donation.html



More information about the nginx mailing list