Specific permissions for fastcgi_temp_path?

TECK nginx-forum at nginx.us
Sun Aug 10 18:12:27 UTC 2014

Hi all,

I looked into /src/core/ngx_file.c and noticed that
ngx_conf_set_access_slot() defines the access type.
What is the variable I need to use in order to force new files to be written
0640, instead of 0600 as access defines it?

I tried, without success:
fastcgi_temp_path               /var/lib/nginx/fastcgi 1 2;
fastcgi_store_access            user:rw group:r;

Thank you for your help.

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

More information about the nginx mailing list