Resolve SVACE issue WGID-112780 13/224113/1 tizen_5.0 submit/tizen_5.0/20200207.093337
authorAmritanshu <a.pandia1@samsung.com>
Mon, 26 Aug 2019 12:44:45 +0000 (18:14 +0530)
committerMohit Kumar <mohit.kr1@samsung.com>
Thu, 6 Feb 2020 09:06:43 +0000 (09:06 +0000)
Change-Id: Ic5ef7c1a552a314d9ea49774e77e757c63326837
Signed-off-by: Amritanshu <a.pandia1@samsung.com>
(cherry picked from commit d4dd4763aae13263f4e7fb31873597a8e58eca51)

src/boot.c

index d55a9fcdae45d305ba4df2b43a5fc0f6cdf59c64..50908d526e88a797fb0e019a2570d54f977417dc 100755 (executable)
@@ -106,7 +106,7 @@ int main(int argc, char *argv[])
        invoked_flag = 1;
 
        close(1);
-       fd = open("/tmp/myfile.txt", O_CREAT|O_RDWR, S_IRWXU|S_IRWXO);
+       fd = open("/tmp/myfile.txt", O_CREAT|O_RDWR, S_IRWXU|S_IRGRP);
        __D("Result of log file open: %d", fd);
 
        elm_init(argc, argv);