[MPlayer-cvslog] r21689 - trunk/stream/stream_file.c
nicodvb
subversion at mplayerhq.hu
Tue Dec 19 22:11:59 CET 2006
Author: nicodvb
Date: Tue Dec 19 22:11:58 2006
New Revision: 21689
Modified:
trunk/stream/stream_file.c
Log:
in WRITE mode open the output file with mode 0666; umask will filter it
Modified: trunk/stream/stream_file.c
==============================================================================
--- trunk/stream/stream_file.c (original)
+++ trunk/stream/stream_file.c Tue Dec 19 22:11:58 2006
@@ -136,7 +136,7 @@
if(mode == STREAM_READ)
f=open(filename,m);
else
- f=open(filename,m, S_IRUSR|S_IWUSR);
+ f=open(filename,m, S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH);
if(f<0) {
mp_msg(MSGT_OPEN,MSGL_ERR,MSGTR_FileNotFound,filename);
m_struct_free(&stream_opts,opts);
More information about the MPlayer-cvslog
mailing list