rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=cfd82661a7af3f1622ce5b4c8fe83ab24ef1daa0

commit cfd82661a7af3f1622ce5b4c8fe83ab24ef1daa0
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Tue Jan 10 11:52:26 2017 +0200

    project_manager: add missing argument to open call
    
    Change-Id: If209d19a15a010f321b1377194dcffb0e6563e29
---
 src/bin/project_manager/project_manager2.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/bin/project_manager/project_manager2.c 
b/src/bin/project_manager/project_manager2.c
index 3eaacac..2ad41a7 100644
--- a/src/bin/project_manager/project_manager2.c
+++ b/src/bin/project_manager/project_manager2.c
@@ -424,7 +424,9 @@ _project_lock(Project *project)
    dir = ecore_file_dir_get(project->pro_path);
    snprintf(path, sizeof(path), "%s/"LOCK_FILE, dir);
    free(dir);
-   project->fd_lock = open(path, O_RDWR | O_CREAT, S_IROTH | S_IWOTH);
+   project->fd_lock = open(path,
+                           O_RDWR | O_CREAT,
+                           S_IREAD | S_IWRITE | S_IRGRP | S_IROTH); /* 
rw-r--r-- */
    if (!project->fd_lock)
      {
         ERR("%s: %s\n", path, strerror(errno));

-- 


Reply via email to