diff options
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 143a0d82..9102ccc5 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -627,7 +627,8 @@ int main(int argc, char *argv[]) } - ofd = open(outfile, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR | S_IWUSR); + ofd = open(outfile, O_CREAT | O_TRUNC | O_WRONLY, + S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH); if ( ofd == -1 ) { ERROR("Failed to open stream '%s'\n", outfile); return 1; |