i forgot to mention one of the machines is windows and I didn't want to go down the cygwin rabbit hole. It is windows 10 though so perhaps I could use WSL.
WSL over NTFS does not preserve file attributes, you'll get 777 everywhere. Plus, the I/O is damn slow currenty, and it's something they are unlikely to fix*; the more files you have, the slower it gets.