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
7 - fd = open(file, O_WRONLY | O_CREAT | O_TRUNC);
8 + fd = open(file, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
10 die("could not create file %s\n", file);