summaryrefslogtreecommitdiff
path: root/videodir.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2000-09-15 13:27:56 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2000-09-15 13:27:56 +0200
commit9ffe1df62622ca37d126e0f81aea97a515ef0ac4 (patch)
treefbd865aa2b09bd439230ad35cef905edc3f4246c /videodir.c
parent72642d67a1f40a53a99ad7974e783a2b3d82a8ef (diff)
downloadvdr-9ffe1df62622ca37d126e0f81aea97a515ef0ac4.tar.gz
vdr-9ffe1df62622ca37d126e0f81aea97a515ef0ac4.tar.bz2
Video files now have the 'group read' bit set
Diffstat (limited to 'videodir.c')
-rw-r--r--videodir.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/videodir.c b/videodir.c
index 7bd6299a..91d362db 100644
--- a/videodir.c
+++ b/videodir.c
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: videodir.c 1.1 2000/07/29 15:21:42 kls Exp $
+ * $Id: videodir.c 1.2 2000/09/15 13:23:47 kls Exp $
*/
#include "videodir.h"
@@ -137,7 +137,7 @@ int OpenVideoFile(const char *FileName, int Flags)
}
}
}
- int Result = open(ActualFileName, Flags, S_IRUSR | S_IWUSR);
+ int Result = open(ActualFileName, Flags, S_IRUSR | S_IWUSR | S_IRGRP);
if (ActualFileName != FileName)
delete ActualFileName;
return Result;