[asterisk-users] Error opening file for reading: Permission denied

Paul Greenberg paul at greenberg.pro
Mon Aug 18 14:28:41 CDT 2014


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



More information about the asterisk-users mailing list