summaryrefslogtreecommitdiff
path: root/lib/sqfs/unix
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqfs/unix')
-rw-r--r--lib/sqfs/unix/io_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqfs/unix/io_file.c b/lib/sqfs/unix/io_file.c
index 52fc94b..d4c1232 100644
--- a/lib/sqfs/unix/io_file.c
+++ b/lib/sqfs/unix/io_file.c
@@ -168,7 +168,7 @@ sqfs_file_t *sqfs_open_file(const char *filename, sqfs_u32 flags)
}
}
- file->fd = open(filename, open_mode, 0600);
+ file->fd = open(filename, open_mode, 0644);
if (file->fd < 0) {
temp = errno;
free(file);