From cbd7088c63288a652b6c6fbdf41f1b20f8603aaa Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Fri, 20 Jan 2012 16:08:10 +0000 Subject: [PATCH] eio: fix open use with O_CREATE. SVN revision: 67394 --- legacy/eio/src/lib/eio_file.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legacy/eio/src/lib/eio_file.c b/legacy/eio/src/lib/eio_file.c index 9670bd3bee..5c9bba8e7e 100644 --- a/legacy/eio/src/lib/eio_file.c +++ b/legacy/eio/src/lib/eio_file.c @@ -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;