Welcome! Log In Create A New Profile

Advanced

Re: Start nginx worker process with same user as master process

Francis Daly
September 21, 2016 12:34PM
On Wed, Sep 21, 2016 at 01:51:18AM -0400, Sushma wrote:

Hi there,

> I have explicitly changed permissions for directories as required.
> But the problem I am facing here is nginx reload fails due to permission
> denied for proxy_temp folder.
> I had explicitly changed permissions for this folder so that it could be
> accesssed by user abc (user with which nginx is running).
> However, when buffering happens, I see that the folder permissions are
> changed to be owned by nginx user. Hence my reload fails due to permissions
> issues.

What I can I do to recreate this issue?

What small configuration file can be used to show this problem?

Copy-paste, do not re-type, because that can introduce changes.

For this proxy_temp folder, what is the "ls -ld" or "ls -ldZ" output
for every component of it?

That is:

ls -ldZ /
ls -ldz /usr
ls -ldZ /usr/local

and so forth.

> Is there something I am missing here? Does nginx remember the user with
> which it was installed and is that why these folder permissions are
> changing?

It shouldn't.

Have you any other processes running that check or change folder
permissions? Or does a containing folder have a setting which says that
everything new inside it must have certain ownership?

f
--
Francis Daly francis@daoine.org

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

Start nginx worker process with same user as master process

Sushma August 17, 2016 12:03PM

Re: Start nginx worker process with same user as master process

Francis Daly August 17, 2016 02:12PM

Re: Start nginx worker process with same user as master process

Sushma September 20, 2016 06:48AM

Re: Start nginx worker process with same user as master process

Francis Daly September 20, 2016 04:00PM

Re: Start nginx worker process with same user as master process

Sushma September 21, 2016 01:51AM

Re: Start nginx worker process with same user as master process

Francis Daly September 21, 2016 12:34PM

Re: Start nginx worker process with same user as master process

Sushma September 22, 2016 05:56AM

Re: Start nginx worker process with same user as master process

GreenGecko September 21, 2016 04:10PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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