/etc/apparmor.d/apache2.d/kopano-webapp is in kopano-webapp-apache2 3.4.6+dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | # Author: Guido Günther <agx@sigxcpu.org>
^kopano-webapp {
#include <abstractions/apache2-common>
#include <abstractions/base>
#include <abstractions/nameservice>
#include <abstractions/php5>
@{PROC}/@{pid}/task/@{tid}/comm rw,
@{PROC}/@{pid}/cmdline r,
/etc/gss/mech.d/ r,
/etc/gss/mech.d/*.conf r,
/etc/kopano/webapp/*.php r,
/usr/share/kopano-webapp/** r,
/var/lib/kopano-webapp/tmp/** rwk,
/var/log/apache2/ r,
# FIXME: we should use separate logfiles for kopano upfront
/var/log/apache2/error.log rw,
/var/log/apache2/other_vhosts_access.log rw,
# Useful when in debugging mode
/usr/share/kopano-webapp/debug.txt rw,
}
|