mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-06 11:27:17 +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_EXCL;
|
||||||
open_mode |= O_CLOEXEC;
|
open_mode |= O_CLOEXEC;
|
||||||
|
|
||||||
fd = open(path, open_mode, 0666);
|
fd = open(path, open_mode, 0660);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user