I have a project which is maintained by multiple teams on various platforms (Windows, Linux, Mac). I have a Mac (Catalina OS) and the project and few of its dependencies write at the root of the system in some files and directories (/log/a/b/c/x.txt just an example there are many such files). Since the root location is no longer writable in Catalina, I am not able to run the project in my system. Project is in Java Spring, but I don't think any project related details are relevant here.
I somehow want again to be able to write at the root location. I don't know how but something I can think from the solution point of view
- If somehow in Java/Spring it can be set to append a prefix before every file path.
- In Java/Spring somehow if root can be redirected to some other location only from java.
I have gone through the solutions here but my company will not permit csrutil one on every system start.
Any help is appreciated.