summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 03687b5)
raw | patch | inline | side by side (parent: 03687b5)
author | Florian Forster <ff@octo.it> | |
Wed, 28 Jul 2010 08:30:35 +0000 (10:30 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 28 Jul 2010 08:30:35 +0000 (10:30 +0200) |
src/graph_list.c | patch | blob | history |
diff --git a/src/graph_list.c b/src/graph_list.c
index fd0dca788e2ecef2bd53c52671a2480ffb07abb6..7327683a9bd7ba04820f5f1621817037ac5b44c5 100644 (file)
--- a/src/graph_list.c
+++ b/src/graph_list.c
int status;
size_t i;
- fd = open (CACHE_FILE, O_WRONLY | O_TRUNC | O_CREAT);
+ fd = open (CACHE_FILE, O_WRONLY | O_TRUNC | O_CREAT,
+ S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH);
if (fd < 0)
{
fprintf (stderr, "gl_dump: open(2) failed with status %i\n", errno);