From 513a9e1a9a675d4ffe564df5eaab33f115056f31 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Mon, 21 Nov 2011 15:37:07 -0600 Subject: [PATCH] FS-3710 --resolve --- src/mod/loggers/mod_logfile/mod_logfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/loggers/mod_logfile/mod_logfile.c b/src/mod/loggers/mod_logfile/mod_logfile.c index 8cdaf9615a..3ada0d252e 100644 --- a/src/mod/loggers/mod_logfile/mod_logfile.c +++ b/src/mod/loggers/mod_logfile/mod_logfile.c @@ -94,7 +94,7 @@ static switch_status_t mod_logfile_openlogfile(logfile_profile_t *profile, switc flags |= SWITCH_FOPEN_WRITE; flags |= SWITCH_FOPEN_APPEND; - stat = switch_file_open(&afd, profile->logfile, flags, SWITCH_FPROT_UREAD | SWITCH_FPROT_UWRITE | SWITCH_FPROT_WREAD, module_pool); + stat = switch_file_open(&afd, profile->logfile, flags, SWITCH_FPROT_OS_DEFAULT, module_pool); if (stat != SWITCH_STATUS_SUCCESS) { return SWITCH_STATUS_FALSE; }