Welcome! Log In Create A New Profile

Advanced

Re: fcgi permissions according to script owner

Piotr Karbowski
August 16, 2010 02:32PM
On 16.08.2010 19:24, Frank Church wrote:
> On 16 August 2010 16:46, Piotr Karbowski<jabberuser@gmail.com> wrote:
>
> Apache uses suexec to run the fastcgi under the user accounts permissions,
> the script I am using the php-fcgi daemon in /etc/init.d?

I have no idea about what /etc/init.d/php-fcgi script you are talking. I
guess it's distro specified script which use spawn-fcgi to spawn php.

> Does nginx have the ability to do the same?

As I said, depends on what cgi you are talking about.

Nginx don't have ability to run cgi itself, it can connect to listening
php or any other fastcgi. If you are talking about php, you can use
spawn-fcgi or php-fpm (better) to run php as specified user.

So yes, you can have php script running as selected user.

Your way of thinking has been distorted by apache's mod_php propably.

-- Piotr.

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

fcgi permissions according to script owner

Frank Church August 16, 2010 08:04AM

Re: fcgi permissions according to script owner

Piotr Karbowski August 16, 2010 11:52AM

Re: fcgi permissions according to script owner

Frank Church August 16, 2010 01:28PM

Re: fcgi permissions according to script owner

Piotr Karbowski August 16, 2010 02:32PM

Re: fcgi permissions according to script owner

Frank Church August 16, 2010 03:38PM

Re: fcgi permissions according to script owner

Piotr Karbowski August 16, 2010 04:38PM

Re: fcgi permissions according to script owner

lo August 16, 2010 04:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 251
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