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        fran...@daoine.org

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

Reply via email to