Video files now have the 'group read' bit set

This commit is contained in:
Klaus Schmidinger
2000-09-15 13:27:56 +02:00
parent 72642d67a1
commit 9ffe1df626
4 changed files with 11 additions and 8 deletions

View File

@@ -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;