diff --git a/debian/resources/switch/source-permissions.sh b/debian/resources/switch/source-permissions.sh index 66c3f66..4a6906e 100755 --- a/debian/resources/switch/source-permissions.sh +++ b/debian/resources/switch/source-permissions.sh @@ -1,6 +1,5 @@ #setup owner and group, permissions and sticky -chown -R www-data:www-data /usr/local/freeswitch chmod -R ug+rw /usr/local/freeswitch -touch /var/log/freeswitch/freeswitch.log -chown -R www-data:www-data /var/log/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 {} \;