Ticket #5238 (new Bugs)

Opened 2 years ago

Last modified 2 years ago

FreePBX engine shouldn't be owning all of $AMPBIN

Reported by: Lantizia Assigned to:
Priority: major Milestone: Undetermined
Component: FreePBX Framework Version: 2.9-branch
Keywords: ampbin chmod chown var lib asterisk bin usr local Cc:
Confirmation: Unreviewed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

Disclaimer: OK... so if were aiming for FreePBX to become more compliant with the FHS then we have to admit there is a long way to go, but this is just one minor tweak on that road, I'll log more as I find them.

---

If your installing some system software manually on Unix the idea is you put your software under /usr/local right? So I thought I'd choose /usr/local/bin instead of /var/lib/asterisk/bin for the FreePBX scripts (which never made any sense to me since not only are these scripts that don't belong under /var, but they are not even a part of the Asterisk package!).

The only issue with this is freepbx_engine chmod's and chown's _all_ files in $AMPBIN to what it wants, overriding any other files you might have in there.

It should only be protecting the permissions and ownerships of its own scripts.

Change History

09/17/11 20:29:25 changed by mbrevda

  • milestone changed from 2.10 to Undetermined.