Unverified Commit 445b885f by 2xsec Committed by Christian Brauner

file_utils: fix too wide or inconsistent non-owner permissions

Signed-off-by: 's avatar2xsec <dh48.jeong@samsung.com>
parent 8e5264e8
......@@ -302,7 +302,7 @@ FILE *fopen_cloexec(const char *path, const char *mode)
open_mode |= O_EXCL;
open_mode |= O_CLOEXEC;
fd = open(path, open_mode, 0666);
fd = open(path, open_mode, 0660);
if (fd < 0)
return NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment