Doubt about permissions on FreePBX

In adittion to give this permissions to:

$ chown asterisk. /var/run/asterisk
$ chown -R asterisk. /etc/asterisk
$ chown -R asterisk. /var/{lib,log,spool}/asterisk
$ chown -R asterisk. /usr/lib64/asterisk

It is necessary to do the same with these directories?
/var/lib/mysql
/var/www

The command “fwconsole chown” should get you where you want to go.

It should set all of the permissions for all of the files that Asterisk (and by extension, FreePBX) needs to update.

1 Like

Hi Dave,

Thanks by your response

I am using FreePBX 12, should I execute this command or this command is only used on FreePBX13?

Should I execute this?

$amportal a reload
$amportal a ma refreshsignatures
$amportal chown
$amportal restart

If all you want to do is fix permissions:

amportal chown

For help on what else you can do with amportal type:

amportal a

Hi Igaetz thanks by your response, I have already solved the issue

Regards

Miguel Sanz

1 Like