/etc/ufw/applications.d/apache2/ is in apache2 2.4.7-1ubuntu4.
This file is owned by root:root, with mode 0o755.