Explorar o código

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

Richard Neese %!s(int64=11) %!d(string=hai) anos
pai
achega
6e51753d70
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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