29 lines
906 B
Plaintext
29 lines
906 B
Plaintext
--- distros/ubuntu1204/rules
|
|
+++ distros/ubuntu1204/rules
|
|
@@ -58,8 +58,10 @@ override_dh_auto_install:
|
|
|
|
override_dh_fixperms:
|
|
dh_fixperms
|
|
- ## 637685
|
|
- chmod -c o-r $(CURDIR)/debian/zoneminder/etc/zm/zm.conf
|
|
+ #
|
|
+ # As requested by the Debian Webapps Policy Manual §3.2.1
|
|
+ chown root:www-data debian/zoneminder-core/etc/zm/zm.conf
|
|
+ chmod 640 debian/zoneminder-core/etc/zm/zm.conf
|
|
|
|
override_dh_installinit:
|
|
dh_installinit --no-start
|
|
--- distros/ubuntu1204/rules
|
|
+++ distros/ubuntu1204/rules
|
|
@@ -60,8 +60,8 @@ override_dh_fixperms:
|
|
dh_fixperms
|
|
#
|
|
# As requested by the Debian Webapps Policy Manual §3.2.1
|
|
- chown root:www-data debian/zoneminder-core/etc/zm/zm.conf
|
|
- chmod 640 debian/zoneminder-core/etc/zm/zm.conf
|
|
+ chown root:www-data $(CURDIR)/debian/zoneminder/etc/zm/zm.conf
|
|
+ chmod 640 $(CURDIR)/debian/zoneminder/etc/zm/zm.conf
|
|
|
|
override_dh_installinit:
|
|
dh_installinit --no-start
|