[asterisk-commits] tilghman: trunk r151371 - /trunk/apps/app_mixmonitor.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 21 10:20:51 CDT 2008


Author: tilghman
Date: Tue Oct 21 10:20:50 2008
New Revision: 151371

URL: http://svn.digium.com/view/asterisk?view=rev&rev=151371
Log:
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)

Modified:
    trunk/apps/app_mixmonitor.c

Modified: trunk/apps/app_mixmonitor.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_mixmonitor.c?view=diff&rev=151371&r1=151370&r2=151371
==============================================================================
--- trunk/apps/app_mixmonitor.c (original)
+++ trunk/apps/app_mixmonitor.c Tue Oct 21 10:20:50 2008
@@ -167,7 +167,7 @@
 				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;
 				}




More information about the asterisk-commits mailing list