vdr/vdr/debian changelog vdr.postinst

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 09 Jan 2005 14:42:47 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr/debian
In directory haydn:/tmp/cvs-serv22217/vdr/vdr/debian

Modified Files:
	changelog vdr.postinst 
Log Message:
* set owner of vdr-shutdown to root:vdr and change mode of the file to 6750

Index: changelog
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/changelog,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- changelog	5 Jan 2005 20:36:20 -0000	1.69
+++ changelog	9 Jan 2005 14:42:45 -0000	1.70
@@ -27,6 +27,9 @@
     - Do not run as user root anymore, the user vdr will be created
       and the video-directory and config-files will be changed, so the
       owner/group is vdr:vdr (closes: #287899)
+    - Changed owner/group of /usr/lib/vdr/vdr-shutdown to root:vdr and
+      changed mode to 6750, so that the user vdr is able to run vdr's
+      shutdown-hooks
     - Added patch from Ludwig Nussel to be able to syncronize the system-
       time via DVB, even when vdr runs as user
     - Build-depend on libcap-dev
@@ -62,7 +65,7 @@
       devices, they will now be created without any question when they
       are not existing allready
 
- -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Thu, 30 Dec 2004 23:16:22 +0100
+ -- Debian VDR Team <pkg-vdr-dvb-devel@lists.alioth.debian.org>  Sun, 09 Jan 2005 15:41:20 +0100
 
 vdr (1.2.6-5) unstable; urgency=low
 

Index: vdr.postinst
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr/debian/vdr.postinst,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- vdr.postinst	30 Dec 2004 23:16:27 -0000	1.14
+++ vdr.postinst	9 Jan 2005 14:42:45 -0000	1.15
@@ -108,6 +108,10 @@
 	[ ! -e /var/lib/vdr ] || chown vdr:vdr /var/lib/vdr
 	[ ! -e /var/cache/vdr ] || chown vdr:vdr /var/cache/vdr/*
 	[ ! -e /var/cache/vdr ] || chown vdr:vdr /var/cache/vdr
+
+	# make /usr/lib/vdr/vdr-shutdown setuid/setgid (owner root:vdr, mode 6750)
+	[ ! -e /usr/lib/vdr/vdr-shutdown ] || chown root:vdr /usr/lib/vdr/vdr-shutdown \
+	&& chmod 6750 /usr/lib/vdr/vdr-shutdown
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)