1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Merge from 2.0

This commit is contained in:
winlin 2020-01-09 10:20:49 +08:00
commit 6c1067d56a
2 changed files with 5 additions and 2 deletions

View file

@ -319,6 +319,9 @@ void SrsFastLog::open_log_file()
return;
}
fd = ::open(filename.c_str(), O_RDWR | O_CREAT | O_APPEND);
fd = ::open(filename.c_str(),
O_RDWR | O_CREAT | O_APPEND,
S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH
);
}