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 5712a61 commit 99c89bfCopy full SHA for 99c89bf
install/lib/installer_base.lib.php
@@ -1957,9 +1957,11 @@ public function install_ispconfig() {
1957
touch($conf['ispconfig_log_dir'].'/ispconfig.log');
1958
}
1959
1960
- //* Create the ispconfig auth log file
+ //* Create the ispconfig auth log file and set uid/gid
1961
if(!is_file($conf['ispconfig_log_dir'].'/auth.log')) {
1962
- touch($conf['ispconfig_log_dir'].'/auth.log', 0666);
+ touch($conf['ispconfig_log_dir'].'/auth.log');
1963
+ exec('chown ispconfig:ispconfig '. $conf['ispconfig_log_dir'].'/auth.log');
1964
+ exec('chmod 660 '. $conf['ispconfig_log_dir'].'/auth.log');
1965
1966
1967
if(is_user('getmail')) {
0 commit comments