summaryrefslogtreecommitdiffabout
path: root/capture.c
Side-by-side diff
Diffstat (limited to 'capture.c') (more/less context) (ignore whitespace changes)
-rw-r--r--capture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capture.c b/capture.c
index d5828ea..a925692 100644
--- a/capture.c
+++ b/capture.c
@@ -153,7 +153,7 @@ capture_set_output(struct capture *cp, SV *cb[2], int strno)
}
} else {
char *filename = SvPV_nolen(sv);
- int fd = open(filename, O_CREAT|O_TRUNC|O_RDWR, 0777);
+ int fd = open(filename, O_CREAT|O_TRUNC|O_RDWR, 0666);
if (fd == -1) {
croak("can't open file %s for writing: %s",
filename, strerror(errno));

Return to:

Send suggestions and report system problems to the System administrator.