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

Mitch Claborn mitch_ml at claborn.net
Tue Aug 19 11:36:28 CDT 2014


No, that's not it.  The wording is different.

Mitch




On 08/18/2014 02:28 PM, Paul Greenberg wrote:
> 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