When I used apache2 server, by default, umask
in / etc / apache 2 / envvars on 0002
used to solve all my permissions problems. Now, when I try to configure nginx / php-fpm, I am facing the same problems when files are created with the wrong permissions.
Is there an umask
option in nginx or php-fpm?
source share