Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export saves the file in an inaccessible location #1153

Open
rpil2 opened this issue Jul 1, 2023 · 2 comments
Open

export saves the file in an inaccessible location #1153

rpil2 opened this issue Jul 1, 2023 · 2 comments

Comments

@rpil2
Copy link

rpil2 commented Jul 1, 2023

Export saves the file to

/storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export

but although i can re-import this into runnerup, i cant access it from any other app (eg android 'files' cannot find the file. within termux i can see the file is there with 'ls' file, but apparently not copy it

$ ls -la /storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export
-rw-rw---- 1 u0_a341 sdcard_rw 12271616 Jul 1 15:21 /storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export
$ cp /storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export .
cp: cannot open '/storage/emulated/0/Android/data/org.runnerup/files/runnerup.db.export' for reading: Permission denied

this seems to stop me taking a backup - or importing on a new phone?

could you perhaps make it save the backup to the Downloads folder?

@gerhardol
Copy link
Collaborator

Later Android limits the access rights quite much. Shared paths do not require permissions.
The command line app is also restricted. I expected that Android Files to request such permissions. Solid Explorer works for me.
So try another file manager.

Some implementation is required to handle the scooped storage framework.
There are some issues with requesting permissions from settings too, that was not easily solved (I spent some time on this before going with the current implementation.

@jcgruenhage
Copy link

Also running into this. The old phone was rooted, and I was able to extract the export, but I can't put it into the right place on the new phone because the included files app doesn't show the folder. Using third party file managers also failed with permission problems for me so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants