ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

proxy_temp_path permissions


  • To: nginx-ru@xxxxxxxxx
  • Subject: proxy_temp_path permissions
  • From: Vasil Mikhalenya <bazilek@xxxxxxxxx>
  • Date: Fri, 21 Oct 2011 14:07:48 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=MRCRLCX63AhV1KeDMXmh4Mw2TOmzhcXuCN0/IUEPjlI=; b=IpDshrh2gNhOLfc9kx0Z4pywM5JzhtMmaouUl+Cx+j3iKWYjGegWTZh6J1Iqcgt40O wJLXb5w0MNSjI8iMmRJX6rhN6ehVQ2HEbMjt4zD0OKBa3NhNJpofZZ1A/NMe4PDvHQTT HeueJALTkdqGjMx4zCQWB3uld8YxZLTNIQ7CU=

[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@xxxxxxxxx
http://mailman.nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.