tbrehm
2011-09-08 d2e848534c0fbfff128ee1d270f2bfc7939276d9
Fixed: FS#1652 - vmail chown on autoupdate in mirrored/gluster environment
1 files modified
2 ■■■ changed files
install/dist/lib/opensuse.lib.php 2 ●●● patch | view | raw | blame | history
install/dist/lib/opensuse.lib.php
@@ -95,7 +95,7 @@
            caselog("$command &> /dev/null", __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
        }
        
        if($cf['vmail_mailbox_base'] != '' && strlen($cf['vmail_mailbox_base']) >= 10) exec('chown -R '.$cf['vmail_username'].':'.$cf['vmail_groupname'].' '.$cf['vmail_mailbox_base']);
        if($cf['vmail_mailbox_base'] != '' && strlen($cf['vmail_mailbox_base']) >= 10 && $this->is_update === false) exec('chown -R '.$cf['vmail_username'].':'.$cf['vmail_groupname'].' '.$cf['vmail_mailbox_base']);
        $postconf_commands = array (
            'myhostname = '.$conf['hostname'],