[med-svn] r11378 - trunk/packages/fis-gtm/fis-gtm/trunk/debian

Yaroslav Halchenko yoh at alioth.debian.org
Tue Jun 19 03:55:02 UTC 2012


Author: yoh
Date: 2012-06-19 03:55:02 +0000 (Tue, 19 Jun 2012)
New Revision: 11378

Modified:
   trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules
Log:
BF: assure that installed files are writable -- there  remain links to be adjusted, things might need to be cleaned etc

Modified: trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules
===================================================================
--- trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules	2012-06-19 03:54:59 UTC (rev 11377)
+++ trunk/packages/fis-gtm/fis-gtm/trunk/debian/rules	2012-06-19 03:55:02 UTC (rev 11378)
@@ -25,7 +25,13 @@
 	cd debian/$(BINPKG)-stage1/usr/$(GTM_INSTALL_DIR) && \
 		gtm_destdir=$(CURDIR)/debian/$(BINPKG) \
 		./gtminstall --utf8 default --installdir $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)
+	@echo "I: Fixing up permissions for removed write rights -- we aren't done yet!"
+	chmod +w -R $(CURDIR)/debian/$(BINPKG)/usr/$(GTM_INSTALL_DIR)
 
+# yoh: although it might sound to remove write permissions for the
+# deployed materials, as far as I see it, it is useless, since the
+# user (root) would always be able to revert them to become writable.
+
 override_dh_link:
 	echo '/usr/lib/fis-gtm/$(UVERDIR) /usr/lib/fis-gtm/current' > debian/fis-gtm.links
 	dh_link




More information about the debian-med-commit mailing list