From 5e0fa50d748b1efe512bf0a4de9b4be3297fa05b Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sat, 11 Jul 2009 10:45:06 +0000 Subject: [PATCH] use linux compatible mode flag --- src/hci_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci_dump.c b/src/hci_dump.c index 34fb0ea35..56c7fd981 100644 --- a/src/hci_dump.c +++ b/src/hci_dump.c @@ -42,7 +42,7 @@ static pktlog_hdr header_packetlogger; void hci_dump_open(char *filename, hci_dump_format_t format){ if (dump_file < 0) { - dump_file = open(filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRWXU); + dump_file = open(filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); dump_format = format; } }