projects
/
oweals
/
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
[oweals/u-boot.git]
/
tools
/
fit_image.c
diff --git
a/tools/fit_image.c
b/tools/fit_image.c
index dd61a816c93f65c141326f28ad9eea0028ed7488..4301b5decbba182821f7b9a01783111813c091fe 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;