[med-svn] r12362 - trunk/packages/biomaj-watcher/trunk/debian

Olivier Sallou osallou at alioth.debian.org
Wed Oct 10 15:45:25 UTC 2012


Author: osallou
Date: 2012-10-10 15:45:24 +0000 (Wed, 10 Oct 2012)
New Revision: 12362

Modified:
   trunk/packages/biomaj-watcher/trunk/debian/changelog
   trunk/packages/biomaj-watcher/trunk/debian/setperms.sh
Log:
fix setperms for config file

Modified: trunk/packages/biomaj-watcher/trunk/debian/changelog
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/changelog	2012-10-10 15:04:18 UTC (rev 12361)
+++ trunk/packages/biomaj-watcher/trunk/debian/changelog	2012-10-10 15:45:24 UTC (rev 12362)
@@ -1,3 +1,10 @@
+biomaj-watcher (1.2.0-11) unstable; urgency=low
+
+  * debian/setperms.sh: Change owner/rights of global.properties to 
+    fix access rights
+
+ -- Olivier Sallou <osallou at debian.org>  Mon, 08 Oct 2012 14:15:29 +0200
+
 biomaj-watcher (1.2.0-10) unstable; urgency=low
 
   * debian/postinst, debian/patches/prevent_jobs_file_move:

Modified: trunk/packages/biomaj-watcher/trunk/debian/setperms.sh
===================================================================
--- trunk/packages/biomaj-watcher/trunk/debian/setperms.sh	2012-10-10 15:04:18 UTC (rev 12361)
+++ trunk/packages/biomaj-watcher/trunk/debian/setperms.sh	2012-10-10 15:45:24 UTC (rev 12362)
@@ -1,5 +1,9 @@
 #!/bin/bash
 
 if ! dpkg-statoverride --list "$1" >/dev/null; then
-  dpkg-statoverride --update --add tomcat6 root 0775  $1
+  if [ "$1" == "/etc/biomaj/db_properties/global.properties" ]; then
+    dpkg-statoverride --update --add tomcat6 root 0660  $1
+  else
+    dpkg-statoverride --update --add tomcat6 root 0775  $1
+  fi
 fi




More information about the debian-med-commit mailing list