We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40d51dc commit 55c7b2aCopy full SHA for 55c7b2a
scripts/jobs/cron_tasks.php
@@ -98,7 +98,7 @@
98
&& !in_array(Settings::Get('system.httpuser'), $groupinfo['members'])
99
) {
100
// webserver has no access, add it
101
- safe_exec('usermod -aG ' . escapeshellarg(Settings::Get('phpfpm.vhost_httpgroup')." ".Settings::Get('system.httpuser')));
+ safe_exec('usermod -a -G ' . escapeshellarg(Settings::Get('phpfpm.vhost_httpgroup'))." ".escapeshellarg(Settings::Get('system.httpuser')));
102
}
103
104
0 commit comments