From 8212eed6218f835bc48b1fbc007b8fe3cb23b58a Mon Sep 17 00:00:00 2001 From: Stefano Date: Tue, 17 Dec 2024 10:57:05 +0100 Subject: [PATCH] fix: set correct ownership for customer_card volume in entrypoint (#349) Change the owner of the volume `/var/lib/nethserver/nethcti/templates/customer_card` to `asterisk:asterisk` in the entrypoint. This ensures the NethVoice wizard can add new customer cards without permission issues. NethServer/dev#7219 --- freepbx/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freepbx/entrypoint.sh b/freepbx/entrypoint.sh index 2194a28f2..6f4359935 100755 --- a/freepbx/entrypoint.sh +++ b/freepbx/entrypoint.sh @@ -87,7 +87,7 @@ Description = ODBC on asteriskcdrdb EOF mkdir -p /var/spool/asterisk/outgoing /var/spool/asterisk/tmp /var/spool/asterisk/uploads -chown asterisk:asterisk /var/lib/asterisk/db /var/spool/asterisk/outgoing /var/spool/asterisk/tmp /var/spool/asterisk/uploads +chown asterisk:asterisk /var/lib/asterisk/db /var/spool/asterisk/outgoing /var/spool/asterisk/tmp /var/spool/asterisk/uploads /var/lib/nethserver/nethcti/templates/customer_card # Customized wizard page cat > /etc/apache2/sites-available/wizard.conf <