Mitch Claborn
2014-Aug-18 17:14 UTC
[asterisk-users] Error opening file for reading: Permission denied
Asterisk 12.4 I am seeing message "Error opening file for reading: Permission denied" several times during the asterisk startup (asterisk -cvvvvv) but it doesn't say which file. Is there a way to find out which file is having trouble? -- Mitch
Paul Greenberg
2014-Aug-18 19:28 UTC
[asterisk-users] Error opening file for reading: Permission denied
Mitch, Is it the below error? if ((fd = open(filename, O_RDONLY)) < 0) { ast_log(LOG_WARNING, "Cannot open file '%s' for reading: %s\n", filename, strerror(errno)); return NULL; } Regards, Paul ________________________________________ From: asterisk-users-bounces at lists.digium.com <asterisk-users-bounces at lists.digium.com> on behalf of Mitch Claborn <mitch_ml at claborn.net> Sent: Monday, August 18, 2014 1:14 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Error opening file for reading: Permission denied Asterisk 12.4 I am seeing message "Error opening file for reading: Permission denied" several times during the asterisk startup (asterisk -cvvvvv) but it doesn't say which file. Is there a way to find out which file is having trouble? -- Mitch -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users