Add permissions when restarting the script

Hi guys.

I have 3 scripts to create to perform an integration with my system, but every time I restart Freepbx 15 the chmod 755 scritp.sh permissions are lost. I already tried to put the command chmod 755 /home/asterisk/scripts/scripts.sh in /etc/rc.d/rc.local, but it seems that when he runs fwconsole chown he ends up losing his permission.
Would you like to add these scripts to fwconsole?
thank you

You can set a chown blacklist for files to be ignored, see the wiki page:

https://sangomakb.atlassian.net/wiki/spaces/FP/pages/10289397/FreePBX+Chown+Conf

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.