Skip to content
Snippets Groups Projects
Commit 855492c6 authored by Tilghman Lesher's avatar Tilghman Lesher
Browse files

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
parent 5a6a59c8
Branches
Tags
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment