diff options
author | Chris Mason <chris.mason@fusionio.com> | 2012-08-27 12:22:28 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-08-27 12:22:28 -0400 |
commit | 914d96e0265c44a9b80dfdfef9cd094072336278 (patch) | |
tree | 0ff3a61cf8451050a4fe9dbdf5314c62f956594a | |
parent | 976a863adece6efcfd84956bbc9f31320db3395e (diff) | |
download | iowatcher-914d96e0265c44a9b80dfdfef9cd094072336278.tar.gz |
Fix mpstat file permissions
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
-rw-r--r-- | tracers.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -184,7 +184,7 @@ int start_mpstat(char *trace_name) snprintf(line, line_len, "%s.mpstat", trace_name); - fd = open(line, O_WRONLY | O_CREAT | O_TRUNC); + fd = open(line, O_WRONLY | O_CREAT | O_TRUNC, 0600); if (fd < 0) { fprintf(stderr, "unable to open %s for writing err %s\n", line, strerror(errno)); |