Steps to fix permission and ownership of Postfix binaries manually due to bug on zmfixperm: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by one other user not shown) | |||
Line 2: | Line 2: | ||
__FORCETOC__ | __FORCETOC__ | ||
<div class="col-md-12 ibox-content"> | <div class="col-md-12 ibox-content"> | ||
=Steps to fix permission and ownership of Postfix binaries | =Steps to fix permission and ownership of Postfix binaries= | ||
<hr> | <hr> | ||
{{KB|{{ZC}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}} | {{KB|{{ZC}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}} | ||
====Problem==== | ====Problem==== | ||
While normally 'zmfixperms' is the preferred method to do this, on ZCS v8.7.0[1,2] running "'''''zmfixperms --verbose --extended'''''" sets incorrect permissions to the Postfix binaries. | |||
The following errors are seen when this is the case: | |||
Connect to the Postfix showq service: Permission denied | Connect to the Postfix showq service: Permission denied | ||
Line 18: | Line 17: | ||
====Solution==== | ====Solution==== | ||
With the help of following commands, we can set correct permission and ownership of | With the help of the following commands, we can set the correct permission and ownership of the Postfix binaries. | ||
'''[Run as ROOT]''' | '''[Run as ROOT]''' | ||
Line 29: | Line 28: | ||
chmod g+s /opt/zimbra/common/sbin/postdrop | chmod g+s /opt/zimbra/common/sbin/postdrop | ||
'''This bug has been fixed in ZCS v8.7.3''' | |||
{| class="wikitable" style="background-color:#d0f0c0;" cellpadding="10" | |||
|'''Submitted by''': Heera Singh Koranga | |||
|} | |||
{{Article Footer|ZCS 8.8, 8.7, 8.6, 8.5|2017-08-23}} |
Latest revision as of 03:14, 18 August 2018
Steps to fix permission and ownership of Postfix binaries
Problem
While normally 'zmfixperms' is the preferred method to do this, on ZCS v8.7.0[1,2] running "zmfixperms --verbose --extended" sets incorrect permissions to the Postfix binaries.
The following errors are seen when this is the case:
Connect to the Postfix showq service: Permission denied postqueue: fatal: Connect to the Postfix showq service: Permission denied
Solution
With the help of the following commands, we can set the correct permission and ownership of the Postfix binaries.
[Run as ROOT]
chown root:postdrop /opt/zimbra/common/sbin/postqueue chown root:postdrop /opt/zimbra/common/sbin/postdrop chown root:root /opt/zimbra/common/libexec/ -R chmod 755 /opt/zimbra/common/sbin/postqueue chmod 755 /opt/zimbra/common/sbin/postdrop chmod g+s /opt/zimbra/common/sbin/postqueue chmod g+s /opt/zimbra/common/sbin/postdrop
This bug has been fixed in ZCS v8.7.3
Submitted by: Heera Singh Koranga |