Skip to content

Commit

Permalink
file_utils: fix too wide or inconsistent non-owner permissions
Browse files Browse the repository at this point in the history
Signed-off-by: 2xsec <dh48.jeong@samsung.com>
  • Loading branch information
2xsec committed Oct 8, 2018
1 parent 4752343 commit 3e9bde7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lxc/file_utils.c
Expand Up @@ -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;

Expand Down

0 comments on commit 3e9bde7

Please sign in to comment.