Help-Unable to add "Recordings"Module on FreePBX

Hi ,

Thanks for those who read this. I need some help here.

Some where i am missing the permissions. When i try to add “Recordings” module using freepbx web screen, i am getting following error


I can not access the directory /var/lib/asterisk/sounds/custom/. Please make sure that it exists, and is writable by the web server.

I created a user the same name & password i am logging in to the weblink. also, my used my own sql username for database. i used below commands.

useradd -gasterisk -s/bin/bash -pxxxx -d/var/lib/asterisk/sounds/custom/ myname

please correct me if i am doing wrong.

then just set the permission on the folder custom to 775 asterisk / asterisk with recursively set as on.