Welcome! Log In Create A New Profile

Advanced

proxy_temp_path permissions

Vasil Mikhalenya
October 21, 2011 07:08AM
[root@ ~]# ll -d /tmp/
drwxrwxrwt 8 root root 61440 Oct 21 11:00 /tmp/
[root@ ~]# service nginx restart
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Stopping nginx:. [ OK ]
Starting nginx: [ OK ]
[root@ ~]# ll -d /tmp/
drwxrwxrwt 8 nginx root 61440 Oct 21 11:00 /tmp/
[root@ ~]# nginx -V
nginx: nginx version: nginx/1.1.1
nginx: built by gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
nginx: TLS SNI support disabled
nginx: configure arguments: --user=nginx --group=nginx
--prefix=/usr/share/nginx --sbin-path=/usr/sbin/nginx
--conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log
--http-log-path=/var/log/nginx/access.log
--http-client-body-temp-path=/var/lib/nginx/tmp/client_body
--http-proxy-temp-path=/var/lib/nginx/tmp/proxy
--http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi
--pid-path=/var/run/nginx.pid --lock-path=/var/lock/subsys/nginx
--with-http_secure_link_module --with-http_random_index_module
--with-http_ssl_module --with-http_realip_module
--with-http_addition_module --with-http_sub_module
--with-http_dav_module --with-http_flv_module
--with-http_gzip_static_module --with-http_stub_status_module
--with-http_perl_module --with-http_geoip_module --with-mail
--with-mail_ssl_module --with-cc-opt='-O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic' --with-ipv6
--with-file-aio
--add-module=/home/mockbuild/rpmbuild/BUILD/nginx-1.1.1/nginx-upstream-fair
--add-module=/home/mockbuild/rpmbuild/BUILD/nginx-1.1.1/mod_ustats
--add-module=/home/mockbuild/rpmbuild/BUILD/nginx-1.1.1/mod_strip
[root@ ~]# uname -a
Linux 2.6.18-194.3.1.el5 #1 SMP Thu May 13 13:08:30 EDT 2010 x86_64
x86_64 x86_64 GNU/Linux

Я правильно понимаю, что права на /tmp меняются из-за данного конфига?
Так и должно быть?

location @fetch_ubuntu {
internal;
proxy_pass http://de.archive.ubuntu.com;
proxy_store on;
proxy_store_access user:rw group:rw all:r;
proxy_temp_path /tmp;

root /var/www/;
}


Спасибо


--
Best regards,
Vasil Mikhalenya

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

proxy_temp_path permissions

Vasil Mikhalenya October 21, 2011 07:08AM

Re: proxy_temp_path permissions

Maxim Dounin October 21, 2011 07:32AM

Re: proxy_temp_path permissions

Vasil Mikhalenya October 21, 2011 08:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 314
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready