Skip to content

Commit 8212eed

Browse files
authored
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
1 parent c942c04 commit 8212eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

freepbx/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Description = ODBC on asteriskcdrdb
8787
EOF
8888

8989
mkdir -p /var/spool/asterisk/outgoing /var/spool/asterisk/tmp /var/spool/asterisk/uploads
90-
chown asterisk:asterisk /var/lib/asterisk/db /var/spool/asterisk/outgoing /var/spool/asterisk/tmp /var/spool/asterisk/uploads
90+
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
9191

9292
# Customized wizard page
9393
cat > /etc/apache2/sites-available/wizard.conf <<EOF

0 commit comments

Comments
 (0)