}
if (status_filename) {
- options_.status_fd = open(status_filename, O_RDONLY|O_APPEND|O_CREAT);
+ options_.status_fd = open(status_filename, O_RDONLY|O_APPEND|O_CREAT, 0666);
if (options_.status_fd < 0) {
NOTIFY_ERROR("could not open status file '%s'", status_filename);
exit(EX_OSERR);