title: sh: 0: getcwd() failed: No such file or directory on cited drive
body: <p>I am trying to compile ARM code on <a href="https://en.wikipedia.org/wiki/Ubuntu_version_history#Ubuntu_12.04_LTS_.28Precise_Pangolin.29" rel="noreferrer">Ubuntu 12.04</a> (Precise Pangolin).</p>
  <p>Everything is working fine when I put the code in the local directory.</p>
  <p>But when I put the code in the cited mount directory, an error shows up:</p>
  <pre><code>making testXmlFiles
  sh: 0: getcwd() failed: No such file or directory
  ARM Compiling xxxxx.c
  sh: 0: getcwd() failed: No such file or directory
  </code></pre>
  <p>Here is my setting in <a href="https://en.wikipedia.org/wiki/Fstab" rel="noreferrer">fstab</a>:</p>
  <pre><code>//10.0.0.1/data /mnt/data   cifs    auto,noserverino,credentials=/root/.smbcredentials,file_mode=0777,dir_mode=0777,uid=user,gid=users,noperm 0 0
  </code></pre>
  <p>What is going on here? What could cause this error?</p>