r351 - vdr/vdr-xxv/trunk/debian
Tobias Grimm
pkg-vdr-dvb-changes@lists.alioth.debian.org
Mon, 28 Mar 2005 17:38:39 +0000
Author: tiber-guest
Date: 2005-03-28 17:38:39 +0000 (Mon, 28 Mar 2005)
New Revision: 351
Modified:
vdr/vdr-xxv/trunk/debian/init
Log:
xxv: fixed permissions for grab
Modified: vdr/vdr-xxv/trunk/debian/init
===================================================================
--- vdr/vdr-xxv/trunk/debian/init 2005-03-28 17:16:41 UTC (rev 350)
+++ vdr/vdr-xxv/trunk/debian/init 2005-03-28 17:38:39 UTC (rev 351)
@@ -51,20 +51,20 @@
#
-# Create temp dir owned by xxv
+# Create temp dir owned by xxv, but with write-access by group vdr
#
create_grabdir()
{
XXV_GRABDIR=`mktemp -d -p /tmp vdr-xxv-XXXXXX`
- if getent group | grep -q "^xxv:" ; then
- chgrp xxv $XXV_GRABDIR
+ if getent group | grep -q "^vdr:" ; then
+ chgrp vdr $XXV_GRABDIR
fi
- if getent passwd | grep -q "^vdr:" ; then
- chown vdr $XXV_GRABDIR
+ if getent passwd | grep -q "^xxv:" ; then
+ chown xxv $XXV_GRABDIR
fi
- chmod a=,g=srwx,o=rwx $XXV_GRABDIR
+ chmod a=,g=rwx,u=rwx $XXV_GRABDIR
}