From 2e70e247bc39ebeba67962684af576bad1d7ba08 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Tue, 21 Oct 2008 15:21:42 +0000 Subject: [PATCH] Merged revisions 151371 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r151371 | tilghman | 2008-10-21 10:20:50 -0500 (Tue, 21 Oct 2008) | 5 lines Default file modes should always be full read and write, to allow the system administrator to make the decision of what permissions will actually be given, through the use of the process umask. (Closes issue# 13751) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@151372 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_mixmonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index 066103b3be..00adef14a5 100644 --- a/apps/app_mixmonitor.c +++ b/apps/app_mixmonitor.c @@ -167,7 +167,7 @@ static void *mixmonitor_thread(void *obj) else ext = "raw"; - if (!(fs = ast_writefile(mixmonitor->filename, ext, NULL, oflags, 0, 0644))) { + if (!(fs = ast_writefile(mixmonitor->filename, ext, NULL, oflags, 0, 0666))) { ast_log(LOG_ERROR, "Cannot open %s.%s\n", mixmonitor->filename, ext); errflag = 1; }