I have created a marklogic application server which hosts a top-songs application configured on port 8040, root directory is the path to the application folder.
I have tried giving read & write access to every folder and file but wasn't able to resolve the issue.
A similar error occurred when I tried inserting documents through query console using xquery/javascript. permission denied.
500 Internal Server Error SVC-FILOPN: File open error: open '/Users/rishabh/Downloads/mls-semantics/projects/top-songs/index.xqy': Operation not permitted in / [1.0-ml]