How to fix unsafe ownership .gnupg in OTRS / Znuny

In this article you will learn how to fix a common issue with gnupg gpg/pgp integration in OTRS in Ubuntu 18.04 and 20.04.
The log (error) message is typically:

gpg: WARNING: unsafe ownership on homedir '/opt/otrs/.gnupg'

The issue is your folders permission of /opt/otrs/.gnupg and could be fixed with

chown -R www-data.www-data /opt/otrs/.gnupg
find /opt/otrs/.gnupg -type f -exec chmod 600 {} \;
find /opt/otrs/.gnupg -type d -exec chmod 700 {} \;

And your log entries shall be gone.

Related articles

Related articles may be:

0/5 (0 Reviews)

Do you need help with Znuny / OTRS?​

Do you require experts with real expertise since 2006 in Znuny and OTRS?
Do you need help solving your issues?

We have experts who can help you with:

  • providing hands-on support
  • implementing custom solutions inside your OTRS/Znuny
  • integrating existing solutions into your Znuny
  • integrating artificial intelligence into your Znuny/OTRS and processes

Get in touch with us and we will check if and how we can help you.

Leave a Reply