r335 - vdr/vdradmin/trunk/debian

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Sun, 27 Mar 2005 19:15:09 +0000


Author: tschmidt
Date: 2005-03-27 19:15:09 +0000 (Sun, 27 Mar 2005)
New Revision: 335

Modified:
   vdr/vdradmin/trunk/debian/postinst
Log:
vdradmin: we should use the octal notation when setting access-rights :)

Modified: vdr/vdradmin/trunk/debian/postinst
===================================================================
--- vdr/vdradmin/trunk/debian/postinst	2005-03-27 19:03:24 UTC (rev 334)
+++ vdr/vdradmin/trunk/debian/postinst	2005-03-27 19:15:09 UTC (rev 335)
@@ -61,7 +61,8 @@
 # so that vdr plugins (Autotimeredit plugin) can make modifications
 if getent group | grep -q "^vdr:" ; then
    chgrp vdr $ATFILE /var/lib/vdradmin
-   chmod g+rw $ATFILE /var/lib/vdradmin
+   chmod 0660 $ATFILE
+   chmod 0770 /var/lib/vdradmin
 fi
 	
 ##DEBHELPER##