[MPlayer-cvslog] r21672 - trunk/stream/stream_file.c
Rich Felker
dalias at aerifal.cx
Tue Dec 19 16:58:32 CET 2006
On Mon, Dec 18, 2006 at 09:53:40PM +0100, nicodvb wrote:
> Author: nicodvb
> Date: Mon Dec 18 21:53:40 2006
> New Revision: 21672
>
> Modified:
> trunk/stream/stream_file.c
>
> Log:
> in STREAM_WRITE mode open the stream with O_RDWR|O_CREAT,
> S_IRUSR|S_IWUSR and disable seek_forward for pipes
Are you sure? Any mode other than 0666 is almost always incorrect.
It's up to the user's umask to select the final desired mode; the
application shouldn't be interfering and limiting permissions unless
the file being written is a critical security file.
Rich
More information about the MPlayer-cvslog
mailing list