no need for execute bit in cli_file_open

This commit is contained in:
Thordur I. Bjornsson 2015-05-08 14:40:51 +00:00
parent 603e353eab
commit 9418139c76
1 changed files with 1 additions and 1 deletions

View File

@ -497,7 +497,7 @@ cli_dir_exists(const char *fpath)
static void
cli_file_open(const char *fpath, int flags, int *fd)
{
if ((*fd = open(fpath, flags, 0755)) == -1)
if ((*fd = open(fpath, flags, 0644)) == -1)
cli_fatal("cli_file_open(%s): %s", fpath, errno_s);
}