Local shell & SSH: Storage access and possible implementations & alternatives.
Is your feature request related to a problem? Please describe.
Can't access local storage when using local shell, can't use PWD, LS or related commands
Describe the solution you'd like
An option to enable access of all directories to a shell, which would allow for use with Shizuku(Local ADB SHELL) or SFTP.
Describe alternatives you've considered
An option to add visible directories to a shell, so it only sees a folder you selected as its [/] , also I think you could make ConnectBot create a org.connectbot directory at Android/Data/org.connectbot/ so the app can access it without additional permissions.
I have the same problem. Did you find a solution @xplshn?
Yes, using a local ssh server on Magisk
Thanks!
When I use local connection I also cant do cd or ls ... And i have no idea how to ser a directory that i can access as my HOME ... (What should be HOME?)
I get error that HOME is not set
:/ $ ls
ls: .: Permission denied
1|:/ $ pwd
/
:/ $ cd
/system/bin/sh: cd: no home directory (HOME not set)
2|:/ $
When I use local connection I also cant do cd or ls ... And i have no idea how to ser a directory that i can access as my HOME ... (What should be HOME?)
I get error that HOME is not set
:/ $ ls ls: .: Permission denied 1|:/ $ pwd / :/ $ cd /system/bin/sh: cd: no home directory (HOME not set) 2|:/ $
Best solution would be using a local ssh server for now.