From: Tilghman Lesher Date: Tue, 21 Oct 2008 15:20:50 +0000 (+0000) Subject: Default file modes should always be full read and write, to allow the system X-Git-Tag: 1.6.2.0-beta1~1051 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=855492c60c88c653cf6a4eab60e7272bc68313d0;p=thirdparty%2Fasterisk.git 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/trunk@151371 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c index 1a5922bec6..0adaa62fe0 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; }