projects
/
platform
/
core
/
system
/
swap-probe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60d5b1f
)
Make log file only rw for other users
13/151713/2
author
Alexander Aksenov
<a.aksenov@samsung.com>
Wed, 20 Sep 2017 11:40:30 +0000
(14:40 +0300)
committer
Alexander Aksenov
<a.aksenov@samsung.com>
Fri, 22 Sep 2017 10:07:44 +0000
(13:07 +0300)
Change-Id: I1147a5d4e9361db4bb64c1ca3f4e9183bc0a225d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
helper/dastdout.c
patch
|
blob
|
history
diff --git
a/helper/dastdout.c
b/helper/dastdout.c
index
020edee
..
05fd0ac
100644
(file)
--- a/
helper/dastdout.c
+++ b/
helper/dastdout.c
@@
-60,7
+60,7
@@
int __redirect_std(void)
#endif
int ret = 0;
- int fd = open(STDOUT, O_WRONLY | O_CREAT | O_TRUNC, 0
777
);
+ int fd = open(STDOUT, O_WRONLY | O_CREAT | O_TRUNC, 0
644
);
if (fd != -1) {
if (__redirect(fd, 1) != 0 ||
__redirect(fd, 2) != 0) {