1
votes

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]

1
Verify the permissions and ownership of the files. Also, the Downloads directory. The MarkLogic process needs to be able to see and read/write. Maybe try running outside of the downloads dir and put into a specific directory. You might also consider using a Modules database instead of the filesystem.Mads Hansen
moving the application folder out of the Downloads folder worked, thanks a lot @MadsHansenRishabhg

1 Answers

0
votes

Verify the permissions and ownership of the files. Also, the Downloads directory.

The MarkLogic process needs to be able to see and read/write. Maybe try running outside of the downloads dir and put into a specific directory.

You might also consider using a Modules database instead of the filesystem.