Welcome! Log In Create A New Profile

Advanced

Re: Specific permissions for fastcgi_temp_path?

August 10, 2014 02:19PM
I have the same scope for directories, I need to have them defined at 0750, instead of 0700:
# ls -lha /var/lib/nginx/fastcgi
total 4.0K
drwxr-x---. 6 nginx root 120 Aug 10 14:09 .
drwxr-xr-x. 9 root root 4.0K Aug 5 20:38 ..
drwx------. 3 nginx nginx 60 Aug 10 14:09 1
drwx------. 3 nginx nginx 60 Aug 10 14:09 3
drwx------. 3 nginx nginx 60 Aug 10 14:09 4
drwx------. 2 nginx root 40 Aug 10 14:09 cache

IF this is not possible with an option, can you please let me know if it will suffice to modify the source code on ngx_file.c and adjust:
*access = 0600;
ngx_create_dir(file->name.data, 0700) -- multiple locations
Subject Author Posted

Specific permissions for fastcgi_temp_path?

TECK August 10, 2014 02:12PM

Re: Specific permissions for fastcgi_temp_path?

TECK August 10, 2014 02:19PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 103
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready