[pve-devel] [PATCH manager] buildsys: add excludes to dh_fixperms

Wolfgang Bumiller w.bumiller at proxmox.com
Mon Nov 13 10:37:33 CET 2017


Instead of fixing up permissions manually as the make
install target is actually responsible for this (and already
doing it).

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>
---
 debian/rules | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 8c618219..f2c2cb77 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,11 +7,7 @@ override_dh_strip_nondeterminism:
 	dh_strip_nondeterminism -X.png
 
 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_fixperms -Xpvemailforward -Xvar/log/pveproxy
 
 %:
 	dh $@
-- 
2.11.0





More information about the pve-devel mailing list