pretext: as gmail no longer allows me to send zip files, i have been looking into other ways to get my java source directories from android to laptop and back again, depending whether I'm at home or not (folder hierarchy must be preserved). I have been trying to set up git on my android phone and have been using termux as the command shell to do this.
the problem: I am unable to create a directory for which BOTH termux and the java ide have read write access. I have setup storage permissions in termux. If the IDE can write termux can't, and in another location termux can write but the IDE can't.
What I need is a folder location that both apps have full read write permissions. (I am not too bothered if these permissions extent to other folders)
I do not want to root my device.
Nokia 7.2 Android 10
$HOME/storageoutside of Termux?. But the shared storage is a permission-less emulated filesystem: What is /storage/emulated/0/?. So you cannot retain files' ownership, mode etc. Root gives multiple options.
/data/local/tmpthat is the only option outside of the sdcard folder? How about running an git server in termux? If your IDE can handle local GIT repos a remote repo on 127.0.0.1 should be possible, too. You even have two options, git via http or ssh. Of course this would require to have the git repo twice on Android.