Bazel sandbox issues
I encountered this issue while hacking verible.
After trying to bazel build
some target, I would see a message that looks like this:
1ccache: error: failed to create temporary file for <XYZ>: Read-only file system
The solution to this problem is creating the .bazelrc
file with the following contents:
1common --sandbox_writable_path /home/<user>/.cache/ccache