Skip to content

Commit 419eb7d

Browse files
committed
Removed unnescessary -R parameter on chown of .mailfilter file.
1 parent 0c5b426 commit 419eb7d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install/lib/installer_base.lib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -717,10 +717,10 @@ public function configure_postfix($options = '') {
717717
}
718718

719719
//* Chmod and chown the .mailfilter file
720-
$command = 'chown -R '.$cf['vmail_username'].':'.$cf['vmail_groupname'].' '.$cf['vmail_mailbox_base'].'/.mailfilter';
720+
$command = 'chown '.$cf['vmail_username'].':'.$cf['vmail_groupname'].' '.$cf['vmail_mailbox_base'].'/.mailfilter';
721721
caselog($command." &> /dev/null", __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
722722

723-
$command = 'chmod -R 600 '.$cf['vmail_mailbox_base'].'/.mailfilter';
723+
$command = 'chmod 600 '.$cf['vmail_mailbox_base'].'/.mailfilter';
724724
caselog($command." &> /dev/null", __FILE__, __LINE__, "EXECUTED: $command", "Failed to execute the command $command");
725725

726726
}

0 commit comments

Comments
 (0)