New Files in webfolder are created by www-data user
short description
What is happening and what is wrong with that?
Files created by the webserver have user/group permission www-data:www-data
correct behaviour
What should happen instead?
at least the owner should be webxxx
environment
Server OS: ubuntu
Server OS version: 20.4
ISPConfig version: 3.1.15
nginx version: nginx/1.17.10 (Ubuntu)
PHP 7.4.3 (cli) (built: Mar 26 2020 20:24:23) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
[web11]
listen = /var/lib/php7.4-fpm/web11.sock
listen.owner = web11
listen.group = www-data
listen.mode = 0660
user = web11
group = client16
pm = dynamic
pm.max_children = 10
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 5
pm.max_requests = 0
chdir = /
env[HOSTNAME] = $HOSTNAME
env[TMP] = /var/www/clients/client16/web11/tmp
env[TMPDIR] = /var/www/clients/client16/web11/tmp
env[TEMP] = /var/www/clients/client16/web11/tmp
env[PATH] = /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Edited by Trimilur