mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-31 04:51:44 +00:00
file_utils: fix too wide or inconsistent non-owner permissions
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
This commit is contained in:
parent
4752343f82
commit
3e9bde7e8e
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user