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

9 lines
272 B
Bash
Executable File

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