The question explains it all. I am using Ubuntu 20.04 LTS. I have connected an android smartphone to pc using USB. Changed directory to internal storage using:
cd /run/user/*/gvfs/*/'Internal Shared Storage'
And now I wanna create a bash script. Did this:
touch test.sh
But it says:
touch: setting times of 'test.sh': Operation not supported
But if I 'ls' again, I see 'test.sh' actually got created. So whatever, I do this to edit 'test.sh' using vim:
vim test.sh
But got this:
cannot open path of the current working directory: Permission denied
Doing sudo outputs the same error. Is it possible to do what I am trying to do?
Android version is 8.
adb shell
for your commands.noexec
option.