summaryrefslogtreecommitdiff
path: root/apps/app_mixmonitor.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-10-21 15:20:50 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-10-21 15:20:50 +0000
commit855492c60c88c653cf6a4eab60e7272bc68313d0 (patch)
treef490177028d20121685fb43ec163905f88289493 /apps/app_mixmonitor.c
parent5a6a59c84b715fdab6b84857c9ac07626ed8910e (diff)
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
Diffstat (limited to 'apps/app_mixmonitor.c')
-rw-r--r--apps/app_mixmonitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_mixmonitor.c b/apps/app_mixmonitor.c
index 1a5922bec..0adaa62fe 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;
}