[pkg-kolab] r551 - kolab-resource-handlers/trunk/debian
Peter Eisentraut
petere at alioth.debian.org
Fri Dec 8 19:51:02 CET 2006
Author: petere
Date: 2006-12-08 19:51:01 +0100 (Fri, 08 Dec 2006)
New Revision: 551
Modified:
kolab-resource-handlers/trunk/debian/changelog
kolab-resource-handlers/trunk/debian/postinst
Log:
* Made file permissions more secure
Modified: kolab-resource-handlers/trunk/debian/changelog
===================================================================
--- kolab-resource-handlers/trunk/debian/changelog 2006-12-06 09:55:58 UTC (rev 550)
+++ kolab-resource-handlers/trunk/debian/changelog 2006-12-08 18:51:01 UTC (rev 551)
@@ -3,8 +3,9 @@
* Fixed path for resmgr.conf (closes: #401116)
* Comment out /etc/kolab-webadmin/apache.conf by default
(closes: #400627)
+ * Made file permissions more secure
- -- Peter Eisentraut <petere at debian.org> Fri, 1 Dec 2006 16:32:58 +0100
+ -- Peter Eisentraut <petere at debian.org> Fri, 8 Dec 2006 19:49:46 +0100
kolab-resource-handlers (0.3.9-20060811-2) unstable; urgency=medium
Modified: kolab-resource-handlers/trunk/debian/postinst
===================================================================
--- kolab-resource-handlers/trunk/debian/postinst 2006-12-06 09:55:58 UTC (rev 550)
+++ kolab-resource-handlers/trunk/debian/postinst 2006-12-08 18:51:01 UTC (rev 551)
@@ -2,13 +2,12 @@
set -e
-create_cache() {
- chown www-data:root /var/lib/kolab/freebusy-cache
-}
-
fixperms() {
chmod 640 /etc/kolab/freebusy.conf /etc/kolab/resmgr.conf
- chown www-data:www-data /etc/kolab/freebusy.conf /etc/kolab/resmgr.conf
+ chown root:www-data /etc/kolab/freebusy.conf /etc/kolab/resmgr.conf
+
+ chmod 750 /var/lib/kolab/freebusy-cache/
+ chown www-data:root /var/lib/kolab/freebusy-cache/
}
setup_cert() {
@@ -34,7 +33,6 @@
}
if [ "$1" = configure ]; then
- create_cache
fixperms
setup_cert
configure_apache
More information about the pkg-kolab-devel
mailing list