Skip to content
Snippets Groups Projects
Commit f9734966 authored by Marius Burkard's avatar Marius Burkard
Browse files

Merge branch '6237-amavis-permission' into 'develop'

Set amavis group for 50-user to make it readable in Debian 11

Closes #6237

See merge request ispconfig/ispconfig3!1530
parents 57500bee 3c86c392
No related branches found
No related tags found
1 merge request!1530Set amavis group for 50-user to make it readable in Debian 11
Pipeline #9829 passed
...@@ -1659,6 +1659,7 @@ class installer_base { ...@@ -1659,6 +1659,7 @@ class installer_base {
$content = str_replace('{mysql_server_ip}', $conf['mysql']['ip'], $content); $content = str_replace('{mysql_server_ip}', $conf['mysql']['ip'], $content);
wf($conf['amavis']['config_dir'].'/conf.d/50-user', $content); wf($conf['amavis']['config_dir'].'/conf.d/50-user', $content);
chmod($conf['amavis']['config_dir'].'/conf.d/50-user', 0640); chmod($conf['amavis']['config_dir'].'/conf.d/50-user', 0640);
chgrp($conf['amavis']['config_dir'].'/conf.d/50-user', 'amavis');
// TODO: chmod and chown on the config file // TODO: chmod and chown on the config file
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment