Steps to fix permission and ownership of Postfix binaries manually due to bug on zmfixperm: Difference between revisions

(Created page with "===<h1>Steps to fix permission and ownership of Postfix binaries manually due to bug on zmfixperm</h1>=== <hr> <br> <h2>Problem:</h2> On ZCS v8.7 running ''zmfixperms --verbos...")
 
No edit summary
Line 3: Line 3:
<br>
<br>
<h2>Problem:</h2>
<h2>Problem:</h2>
On ZCS v8.7 running ''zmfixperms --verbose --extended'' set incorrect permissions on postfix binraries.  
On ZCS v8.7 running "'''''zmfixperms --verbose --extended'''''" set incorrect permissions on postfix binraries.  


Getting following errors with postfix related commands.  
Getting following errors with postfix related commands.  
Line 15: Line 15:
With the help of following commands we can set correct permission and ownership of postfix binaries.  
With the help of following commands we can set correct permission and ownership of postfix binaries.  


<pre>
'''[Run as ROOT]'''
[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


chown root:postdrop /opt/zimbra/common/sbin/postqueue


chown root:postdrop /opt/zimbra/common/sbin/postdrop
Reported bug for this issue -  https://bugzilla.zimbra.com/show_bug.cgi?id=106379 <br>
This bug fixed on ZCS v8.7.3


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 
Reported by: Heera Singh Koranga
 
chmod g+s /opt/zimbra/common/sbin/postdrop
</pre>
 
Currently opened bug for this issue - https://bugzilla.zimbra.com/show_bug.cgi?id=106379
 
 
Heera Singh Koranga
 
"Heera Singh" <hsingh@zimbra.com>

Revision as of 14:21, 20 August 2017

Steps to fix permission and ownership of Postfix binaries manually due to bug on zmfixperm



Problem:

On ZCS v8.7 running "zmfixperms --verbose --extended" set incorrect permissions on postfix binraries.

Getting following errors with postfix related commands.

Connect to the Postfix showq service: Permission denied
postqueue: fatal: Connect to the Postfix showq service: Permission denied


Solution

With the help of following commands we can set correct permission and ownership of 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 


Reported bug for this issue - https://bugzilla.zimbra.com/show_bug.cgi?id=106379
This bug fixed on ZCS v8.7.3



Reported by: Heera Singh Koranga

Jump to: navigation, search