Просмотр исходного кода

fixed recordings/voicemail permissions so freeswitch can write to fusion dir for recordings and vm

Richard Neese 11 лет назад
Родитель
Сommit
6e51753d70
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      install/Debian/Fusionpbx-Debian-Package-Install.sh

+ 2 - 0
install/Debian/Fusionpbx-Debian-Package-Install.sh

@@ -689,6 +689,8 @@ apt-get -y --force-yes install fusionpbx-core fusionpbx-app-calls fusionpbx-app-
 find "/var/lib/fusionpbx" -type d -exec chmod 775 {} +
 find "/var/lib/fusionpbx" -type f -exec chmod 664 {} +
 
+find "/var/lib/fusionpbx/storage/voicemail" -type d -exec chown www-data:freeswitch {} +
+find "/var/lib/fusionpbx/recordings" -type d -exec chown www-data:freeswitch {} +
 #Optional APP PKGS installs
 if [[ $adminer == "y" ]]; then
 apt-get -y --force-yes install fusionpbx-app-adminer