From b537a7a38908cb7aee30311879c7c1cbb7fe7474 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Wed, 14 Oct 2015 13:09:53 +0200 Subject: [PATCH] record.cpp: remove unnecessary executable flag from ts-file Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/07df9d28e5213541e3bf6f822e5a8125675ce4c7 Author: vanhofen Date: 2015-10-14 (Wed, 14 Oct 2015) Origin message was: ------------------ - record.cpp: remove unnecessary executable flag from ts-file --- src/driver/record.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index b19e20128..c91f67a7c 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -155,7 +155,7 @@ record_error_msg_t CRecordInstance::Start(CZapitChannel * channel) std::string tsfile = std::string(filename) + ".ts"; printf("%s: file %s vpid %x apid %x\n", __FUNCTION__, tsfile.c_str(), allpids.PIDs.vpid, apids[0]); - int fd = open(tsfile.c_str(), O_CREAT | O_TRUNC | O_SYNC | O_RDWR | O_LARGEFILE | O_CLOEXEC, S_IRWXO | S_IRWXG | S_IRWXU); + int fd = open(tsfile.c_str(), O_CREAT | O_TRUNC | O_SYNC | O_RDWR | O_LARGEFILE | O_CLOEXEC, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); if(fd < 0) { perror(tsfile.c_str()); hintBox.hide();