projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mkimage: fit: don't create image with 0700 permissions
[platform/kernel/u-boot.git]
/
tools
/
fit_image.c
diff --git
a/tools/fit_image.c
b/tools/fit_image.c
index
dd61a81
..
4301b5d
100644
(file)
--- a/
tools/fit_image.c
+++ b/
tools/fit_image.c
@@
-642,7
+642,7
@@
static int copyfile(const char *src, const char *dst)
goto out;
}
- fd_dst = open(dst, O_WRONLY | O_CREAT, 0
700
);
+ fd_dst = open(dst, O_WRONLY | O_CREAT, 0
666
);
if (fd_dst < 0) {
printf("Can't open file %s (%s)\n", dst, strerror(errno));
goto out;