-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
The directories /var/cache/service-desk/templates_c and /var/cache/service-desk/templates_c is owned by root:root, and not www-data:www-data.
The problem comes from dh_builddeb step:
When the Rules-Requires-Root field is not (effectively) binary-targets, dh_builddeb will pass --root-owner-group to [dpkg-deb(1)](https://manpages.debian.org/testing/dpkg/dpkg-deb.1.en.html).
This leads to all permissions in the package to be rewritten to root:root.
A fix could be to add in control file:
Rules-Requires-Root: binary-targets
Reactions are currently unavailable