Ticket #5569 (closed Bugs: fixed)

Opened 4 months ago

Last modified 4 months ago

Can't read manager_additional.conf

Reported by: jhorck Assigned to:
Priority: major Milestone: 2.10
Component: Asterisk API Version: 2.9-branch
Keywords: manager Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: Asterisk 1.8 Backend Engine Version:

Description

When running Apache and Asterisk under different users, the file manager_additional.conf, generated by FreePBX is unreadable for Asterisk.

The module uses tempnam() to create a new file, with rights 0600 (only read-/write- able for current user).

This is fixed by a simple chmod(), I'll attach the patch file.

Attachments

manager.functions.inc.php.patch (471 bytes) - added by jhorck on 02/10/12 05:07:49.
Patch file manager/functions.inc.php

Change History

02/10/12 05:07:49 changed by jhorck

  • attachment manager.functions.inc.php.patch added.

Patch file manager/functions.inc.php

02/10/12 10:35:46 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.

(In [13424]) fixes #5569 updates manager to properly generate conf files with manager_conf class

02/10/12 10:37:30 changed by p_lindheimer

  • milestone changed from Cut Line to 2.10.