Nginx Perl / Cgi Permission Problem
Aleksandar Lazic
al-nginx at none.at
Mon Sep 19 20:46:45 UTC 2016
Hi.
Am 19-09-2016 12:41, schrieb basti:
> Hello,
> I have a perl/ gci script that creates a dir and within that an subdir
> with permission 0750. The owner of the dirs are www-data.
>
> nginx can't delete the dirs because this is run as user nginx.
> is there a way to set the user for perl/cgi to nginx? only for this
> location?
In short: not in nginx.
nginx normally does not execute cgi-scripts.
It would be helpful when post the output of
nginx -V
and how and which perl script is executed.
Best regards
Aleks
More information about the nginx
mailing list