Before you say "no", a workaround would also be fine.
Here is the situation: I have two machines local and compile, both including the same ~ over nfs from a third machine files. I would like to have a directory on compile:/opt/foo/ instead of files:~/foo/ for speed. But I want to still be able to work from local without having to work on a different path.
I can sshfs mount compile:/opt/foo/ locally on local:~/compile/opt/foo/ but if I want to have one directory at the same path inside my ~ on both machines, symlinks don't seem to cut it, as they want to point at the same path.
Is there a solution for this problem that enables me to have my files sitting on the local drive of compile instead of the nfs mount?
Note: I cannot gain root privileges on any of these machines.