summaryrefslogtreecommitdiffstats
path: root/perform/zip_perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'perform/zip_perf.c')
-rw-r--r--perform/zip_perf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perform/zip_perf.c b/perform/zip_perf.c
index 00b270c..b005528 100644
--- a/perform/zip_perf.c
+++ b/perform/zip_perf.c
@@ -507,7 +507,7 @@ do_write_test(unsigned long file_size, unsigned long min_buf_size,
/* do uncompressed data write */
gettimeofday(&timer_start, NULL);
- output = open(filename, O_RDWR | O_CREAT);
+ output = open(filename, O_RDWR | O_CREAT, S_IRWXU);
if (output == -1)
error(strerror(errno));