Skip to content

Commit

Permalink
fix: set correct ownership for customer_card volume in entrypoint (#349)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Stell0 authored Dec 17, 2024
1 parent c942c04 commit 8212eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion freepbx/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 <<EOF
Expand Down

0 comments on commit 8212eed

Please sign in to comment.