summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-01-19 18:24:35 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-01-19 18:24:35 +0100
commitf77a915ea102246477a57eae94b55329aa87eb45 (patch)
tree76805396e1e5bcf1ac6d53fd7de586c7d38516ec /tools
parentd787c28412cfd2bef52eb51bce33671caa6a8da2 (diff)
parent8519e56e04bbb3e5aaec150a35cfaeb9df60fb91 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'tools')
-rw-r--r--tools/adk/pkgrebuild.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/adk/pkgrebuild.c b/tools/adk/pkgrebuild.c
index e6497b8c7..0a91834e7 100644
--- a/tools/adk/pkgrebuild.c
+++ b/tools/adk/pkgrebuild.c
@@ -50,7 +50,7 @@ static void iter_disabled(const char *key, const char *value, const void *obj) {
//fprintf(stderr, "Symbol is a flavour/choice: %s\n", hvalue);
if (snprintf(tfile, 256, ".rebuild.%s", hvalue) < 0)
perror("can not create file variable.");
- fd = open(tfile, O_RDWR | O_CREAT);
+ fd = open(tfile, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
close(fd);
}
}
@@ -70,7 +70,7 @@ static void iter_enabled(const char *key, const char *value, const void *obj) {
//fprintf(stderr, "Symbol is a flavour/choice\n");
if (snprintf(tfile, 256, ".rebuild.%s", hvalue) < 0)
perror("can not create file variable.");
- fd = open(tfile, O_RDWR | O_CREAT);
+ fd = open(tfile, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
close(fd);
}
}