eio: fix open use with O_CREATE.

SVN revision: 67394
This commit is contained in:
Cedric BAIL 2012-01-20 16:08:10 +00:00
parent fcc86ae34b
commit cbd7088c63
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ eio_file_copy_do(Ecore_Thread *thread, Eio_File_Progress *copy)
#endif
/* open write */
out = open(copy->dest, O_WRONLY | O_CREAT | O_TRUNC);
out = open(copy->dest, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
if (out < 0)
goto on_error;