I have firebase function with next error
Error: Unable to open a realm at path '/workspace/mongodb-realm/products-gjstr/server-utility/metadata/sync_metadata.realm.lock'. Please use a path where your app has read-write permissions.
This is mongo realm is trying to create mongodb-realm
folder and some files in this folder with sync settings. It's not possible to prevent it from creation.
Firebase function does not have permissions to do it. I am trying now to find out best practice or just something to solve this issue.
Would be grateful for any help!