I have an issue with file permission in Termux.
For instance, I installed c4droid and copied the Termux /include
and /lib
folders content in the /c4droid
folder where the headers are being looked for at compilation. I changed the owner and group to the correct name and mode to 777, but at compilation, it says "cannot open ****.h permission denied".
Same thing with a worldlist that comes from the SD card that I put on a folder meant to be used with hydra, not only have I have to use root access to unzip the file and move it around, but hydra itself can't open it.
What is this so important thing that I am missing about Termux and filed ownership and permissions?
I installed c4droid and copied the termux include and lib folders content in the c4droid folder
. And what's the exact location ofc4droid
folder?aarcharm
'//data/data/com.n0n3m4.droidc/
from Termux, right? That won't work. Termux can't read/write data outside its own private directory/data/data/com.termux/
. That's the app sandboxing mechanism of Android - for security and privacy. Other possible location which Termux can access is/sdcard/Android/data/com.termux
. Also whole/sdcard
if you grant TermuxStorage
permission.