From: Juergen Beisert <jbe@pengutronix.de>
To: barebox@lists.infradead.org
Subject: [PATCH 4/6] netX: add more common permissions
Date: Fri, 20 Apr 2012 15:06:15 +0200 [thread overview]
Message-ID: <1334927177-13912-5-git-send-email-jbe@pengutronix.de> (raw)
In-Reply-To: <1334927177-13912-1-git-send-email-jbe@pengutronix.de>
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
---
scripts/gen_netx_image.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/scripts/gen_netx_image.c b/scripts/gen_netx_image.c
index 5c2207c..18e10bc 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);
--
1.7.10
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2012-04-20 13:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-20 13:06 [PATCH] some minor fixes for the netX arch Juergen Beisert
2012-04-20 13:06 ` [PATCH 1/6] netX: just a style fix Juergen Beisert
2012-04-20 13:06 ` [PATCH 2/6] netX: use correct sized pointers Juergen Beisert
2012-04-20 13:06 ` [PATCH 3/6] netX: adapt it to the current boot spec Juergen Beisert
2012-04-20 13:06 ` Juergen Beisert [this message]
2012-04-20 13:06 ` [PATCH 5/6] netX: make the host interface macros compile Juergen Beisert
2012-04-20 13:06 ` [PATCH 6/6] netX: ignoring temporary netx build tool Juergen Beisert
2012-04-23 5:53 ` [PATCH] some minor fixes for the netX arch Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1334927177-13912-5-git-send-email-jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox