My temporary solution is to use NFS shared folders instead of vboxfs, as vagrant does.
From osx "/etc/exports" (place this to the beginning of the file):
/Users -mapall=[youruser]:[yourgroup] [boot2dockerip]
Restart the nfs daemon in osx:
sudo nfsd stop && sudo nfsd start