Commit f964889a authored by Gildas Bazin's avatar Gildas Bazin

* modules/access_output/file.c: make the output file writeable by the owner.
parent 9b88191a
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* file.c * file.c
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN * Copyright (C) 2001, 2002 VideoLAN
* $Id: file.c,v 1.7 2003/06/12 15:56:27 gbazin Exp $ * $Id: file.c,v 1.8 2003/06/21 14:24:30 gbazin Exp $
* *
* Authors: Laurent Aimar <fenrir@via.ecp.fr> * Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Eric Petit <titer@videolan.org> * Eric Petit <titer@videolan.org>
...@@ -100,7 +100,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -100,7 +100,7 @@ static int Open( vlc_object_t *p_this )
} }
else if( ( p_access->p_sys->i_handle = else if( ( p_access->p_sys->i_handle =
open( p_access->psz_name, O_WRONLY|O_CREAT|O_TRUNC, open( p_access->psz_name, O_WRONLY|O_CREAT|O_TRUNC,
S_IREAD | S_IRGRP | S_IROTH ) ) == -1 ) S_IWRITE | S_IREAD | S_IRGRP | S_IROTH ) ) == -1 )
{ {
msg_Err( p_access, "cannot open `%s'", p_access->psz_name ); msg_Err( p_access, "cannot open `%s'", p_access->psz_name );
free( p_access->p_sys ); free( p_access->p_sys );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment