After installing moodle successfully, when I open it in browser. I am getting following error message. I gave all writable permissions to dataroot folder but still same issue.
Fatal error $cfg- dataroot is not writable, admin has to fix directory permissions