Fix the Zimbra Collaboration permissions(폴더 퍼미션에러시)복원

목적

때때로 Zimbra 디렉토리 /opt/zimbra/ 아래의 파일 또는 폴더에 대한 권한 변경으로 인해 오류를 찾을 수 있습니다. 이 문제를 해결하려면 zmfixperms 명령을 실행하십시오.

해결

새 서버에서 모든 권한이 올바른지 확인합니다. 1. 루트로 zmfixperms 명령을 실행하여 /opt/zimbra 아래 파일의 잠재적 권한 문제를 복구합니다 .

 /opt/zimbra/libexec/zmfixperms

2. /opt/zimbra/store 및 /opt/zimbra/index 도 확인해야 하는 경우 -extended 옵션 을 사용해야 합니다 . 이것은 실행하는 데 훨씬 더 오래 걸릴 수 있습니다(대규모 환경에서는 잠재적으로 몇 시간). 따라서 필요한 경우에만 실행하십시오. 이 명령을 루트로 실행합니다.

 /opt/zimbra/libexec/zmfixperms -extended 




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 

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다