summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sfeed_frames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfeed_frames.c b/sfeed_frames.c
index 36655a8..1367876 100644
--- a/sfeed_frames.c
+++ b/sfeed_frames.c
@@ -155,7 +155,7 @@ printfeed(FILE *fpitems, FILE *fpin, struct feed *f)
strtotime(fields[FieldUnixTimestamp], &parsedtime);
/* content file doesn't exist yet and has write access */
- if ((fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY)) == -1) {
+ if ((fd = open(filepath, O_CREAT | O_EXCL | O_WRONLY, 0644)) == -1) {
if (errno != EEXIST)
err(1, "open: %s", filepath);
} else {