don't make the fpm-socket readable for all, fixes #1418

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann (d00p)
2014-10-01 13:39:41 +02:00
parent 480e3a8bfd
commit 332a6bc550

View File

@@ -148,7 +148,8 @@ class phpinterface_fpm {
$fpm_config.= 'listen.owner = '.$this->_domain['loginname']."\n";
$fpm_config.= 'listen.group = '.$this->_domain['loginname']."\n";
}
$fpm_config.= 'listen.mode = 0666'."\n";
// see #1418 why this is 0660
$fpm_config.= 'listen.mode = 0660'."\n";
if ($this->_domain['loginname'] == 'froxlor.panel') {
$fpm_config.= 'user = '.$this->_domain['guid']."\n";