I got this upon trying to download call recording in Vicidial on the lead’s page. I have Vicibox 11 installed in virtual machine on Cloudmin with Vicidial VERSION: 2.14-899a BUILD: 231109-2027
Next, I checked Apache’s logs and found the following:
AH00035: access to /RECORDINGS/MP3 denied (filesystem path ‘/var/spool/asterisk/monitorDONE’) because search permissions are missing on a component of the path
That means that somewhere on the path to the recording file “x” permission on a folder is missing.
Upon closer look I found:
- Apache runs under “
wwwrun
” account - “
monitorDONE
” folder is owned by “wwwrun
” user and it has “x
” permission as well as the subfolders - upper folder “
asterisk
” is owned by “asterisk
” and others are not allowed to traverse it:
So the fix was:
1 |
chmod 755 /var/spool/asterisk |
and this allowed “wwwrun” user to access.
I cannot believe this bug is still here: https://vicidial.org/VICIDIALforum/viewtopic.php?f=4&t=30938
Good luck!