int fd;
pass_muxer_t *pm = (pass_muxer_t*)m;
- fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0777);
+ fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0644);
if(fd < 0) {
pm->pm_error = errno;
tvhlog(LOG_ERR, "pass", "%s: Unable to create file, open failed -- %s",
{
int fd;
- fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0777);
+ fd = open(filename, O_WRONLY | O_CREAT | O_TRUNC, 0644);
if(fd < 0) {
mkm->error = errno;
tvhlog(LOG_ERR, "mkv", "%s: Unable to create file, open failed -- %s",