TermuxBackupTools icon indicating copy to clipboard operation
TermuxBackupTools copied to clipboard

No location `/storage/emulated/0`

Open mtalexan opened this issue 7 months ago • 2 comments

I'm not sure what prior setup might have been done, there's nothing mentioned, but nothing I've seen gives you the system storage at /storage/emulated/0. Termux can mount the /storage/emulated/0 location to ~/storage by calling termux-setup-storage though.

Is there some setup detail missing in the README here, or is the destination path just wrong?

mtalexan avatar Apr 20 '25 17:04 mtalexan

@mtalexan /storage/emulated/0 is the default home location in android phones. If you are facing this issue, try changing line 14

readonly DEST='/storage/emulated/0/Termux/Backup'

to the correct location.

laraib07 avatar Apr 21 '25 11:04 laraib07

I believe the issue is that this is run within Termux, but unless you rooted your device Teux doesn't have permissions to access that location directly. I can verify it's the correct absolute location from a file manager outside Termux, but the default path and all sub-paths of it are permission denied within Termux.

Thanks for the DEST suggestion, I hadn't looked closely enough at the script to see that.

mtalexan avatar Apr 21 '25 14:04 mtalexan