Add permissions when restarting the script


(Brasil) #1

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


(Lorne Gaetz) #2

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

http://wiki.freepbx.org/display/FOP/FreePBX+Chown+Conf


(system) closed #3

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