use linux compatible mode flag

This commit is contained in:
matthias.ringwald 2009-07-11 10:45:06 +00:00
parent a8cd57edc5
commit 5e0fa50d74

View File

@ -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;
}
}