fusionpbx-install.sh/ubuntu/resources/switch/source-permissions.sh

6 lines
234 B
Bash
Executable File

#setup owner and group, permissions and sticky
chmod -R ug+rw /usr/local/freeswitch
touch /usr/local/freeswitch/freeswitch.log
chown -R www-data:www-data /usr/local/freeswitch
find /usr/local/freeswitch -type d -exec chmod 2770 {} \;