I am trying to compile ARM code on Ubuntu 12.04 (Precise Pangolin).
Everything is working fine when I put the code in the local directory.
But when I put the code in the cited mount directory, an error shows up:
making testXmlFiles
sh: 0: getcwd() failed: No such file or directory
ARM Compiling xxxxx.c
sh: 0: getcwd() failed: No such file or directory
Here is my setting in fstab:
//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
What is going on here? What could cause this error?
mkdir ~/myfunnydir && cd ~/myfunnydir
in terminal B:rm -rf ~/myfunnydir
and finally back in terminal A again:java --version
) – Arcadian/root
. A regular user will not be able to mount it because the credential will not be readable to them. Try making it as non-auto mount and let root mount it. – Emilie