[Pkg-owncloud-commits] [SCM] owncloud.git branch, master, updated. debian/4.0.1debian-2-22-gf004e68

Paul van Tilburg paulvt at debian.org
Wed Jun 13 20:31:59 UTC 2012


The following commit has been merged in the master branch:
commit 557d6a0b0200ff859b27034aa0404561d81617ea
Author: Paul van Tilburg <paulvt at debian.org>
Date:   Wed Jun 13 22:01:34 2012 +0200

    Fix some file permissions; override lintian warnings

diff --git a/debian/owncloud.lintian-overrides b/debian/owncloud.lintian-overrides
index 5d38330..8b28745 100644
--- a/debian/owncloud.lintian-overrides
+++ b/debian/owncloud.lintian-overrides
@@ -1,3 +1,4 @@
 # User www-data has to write here.
 owncloud: non-standard-dir-perm var/lib/owncloud/data/ 2770 != 0755
 owncloud: non-standard-dir-perm var/lib/owncloud/backup/ 2770 != 0755
+owncloud: non-standard-file-perm etc/owncloud/htaccess 0640 != 0644
diff --git a/debian/rules b/debian/rules
index ca9b143..cf9979e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -85,7 +85,9 @@ override_dh_fixperms:
 	dh_fixperms -X var/lib/owncloud
 	chown www-data:www-data debian/owncloud/etc/owncloud/
 	chown www-data:www-data debian/owncloud/etc/owncloud/htaccess
+	chmod 0640 debian/owncloud/etc/owncloud/htaccess
 	chown www-data:www-data debian/owncloud/var/lib/owncloud/data/
 	chmod 2770 debian/owncloud/var/lib/owncloud/data/
 	chown www-data:www-data debian/owncloud/var/lib/owncloud/backup/
 	chmod 2770 debian/owncloud/var/lib/owncloud/backup/
+	chmod 0644 debian/owncloud/var/lib/owncloud/themes/README

-- 
owncloud.git



More information about the Pkg-owncloud-commits mailing list