title: bazel Failed to create temporary file
body: <p>I have download the git repo containing the <a href="https://docs.bazel.build/versions/master/tutorial/cpp.html" rel="nofollow noreferrer">c++ tutorial</a> for bazel and I am trying to compile the examples.
  When performing the command <code>bazel build //main:hello-world</code>, I get the following error:</p>
  
  <pre><code>ccache: error: Failed to create temporary file for /home/username/.ccache/tmp/tmp.cpp_stderr: Read-only file system
  </code></pre>
  
  <p>Thus I tried several actions: <code>sudo bazel</code>, change permission to /.ccache/tmp/ folder but none has worked. How can I get ride of this error ?</p>
  
  <p>I work on fedora27.</p>