Vicidial access forbidden to the recordings folder

Vicidial-access-forbidden

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:

  1. Apache runs under “wwwrun” account
  2. monitorDONE” folder is owned by “wwwrun” user and it has “x” permission as well as the subfolders
  3. upper folder “asterisk” is owned by “asterisk” and others are not allowed to traverse it:

vicidial-access-forbidden

So the fix was:

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!

Want me to do this for you? Drop me a line: itgalaxyzzz {at} gmail [dot] com