]>
Commit | Line | Data |
---|---|---|
be306070 AM |
1 | --- trace-cmd-2.4/trace-record.c~ 2014-06-16 20:32:43.000000000 +0200 |
2 | +++ trace-cmd-2.4/trace-record.c 2014-09-05 15:16:46.697132020 +0200 | |
3 | @@ -1995,7 +1995,7 @@ | |
4 | { | |
5 | int fd; | |
6 | ||
7 | - fd = open(file, O_WRONLY | O_CREAT | O_TRUNC); | |
8 | + fd = open(file, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); | |
9 | if (fd < 0) | |
10 | die("could not create file %s\n", file); | |
11 | close(fd); |