pve-manager/debian/rules
Emmanuel Kasper db3395bb83 Fix #1450 : restore setgid bit on pvemailforward binary
When calling chown on a setuid/setgid executable, the
setuid/setgid bits are reset to 0. So ordering matters
here. See chown(2).
2017-07-19 08:57:31 +02:00

21 lines
477 B
Makefile
Executable File

#!/usr/bin/make -f
override_dh_compress:
dh_compress -Xaplinfo.dat
override_dh_strip_nondeterminism:
dh_strip_nondeterminism -X.png
override_dh_usrlocal:
# do nothing
override_dh_fixperms:
dh_fixperms
find debian -name 'pvemailforward' -exec chown root:www-data {} +
find debian -name 'pvemailforward' -exec chmod 2755 {} +
find debian -type d -name 'pveproxy' -exec chown www-data:www-data {} +
find debian -type d -name 'pveproxy' -exec chmod 700 {} +
%:
dh $@