diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2012-04-20 15:06:15 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-04-23 07:52:46 +0200 |
commit | 7e7db4c2b61e4e264f9d3e87ca596677e6bab2f6 (patch) | |
tree | 198f9631c68d5edf2723a7b378878e0a750e2cc9 /scripts/gen_netx_image.c | |
parent | 4cdb09d6689b255c695a0f943c05262634637478 (diff) | |
download | barebox-7e7db4c2b61e4e264f9d3e87ca596677e6bab2f6.tar.gz barebox-7e7db4c2b61e4e264f9d3e87ca596677e6bab2f6.tar.xz |
netX: add more common permissions
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts/gen_netx_image.c')
-rw-r--r-- | scripts/gen_netx_image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gen_netx_image.c b/scripts/gen_netx_image.c index 5c2207c0fe..18e10bcaeb 100644 --- a/scripts/gen_netx_image.c +++ b/scripts/gen_netx_image.c @@ -218,7 +218,8 @@ int main(int argc, char *argv[]) checksum += *ptr++; nb->boot_checksum = -1 * checksum; - fd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); + fd = open(outfile, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | + S_IRGRP | S_IWGRP | S_IROTH); if(fd < 0) { perror("open"); exit(1); |