Project

General

Profile

Actions

Bug #1302

closed

Mht file. Now gives error

Added by C B 11 days ago. Updated 6 days ago.

Status:
Closed
Priority:
3.x
Assignee:
-
Start date:
04/06/2026
Due date:
% Done:

0%

Estimated time:

Description

I have been opening this MHT file on and off since creation, Nov 2025. But now PB (and its spin-offs) refuse to open it. LOGCAT in menu does not list the error, it shows at bottom and stays there, shows regardless if other tab chosen. Other MHTs still accessible.

Error: java.lang.SecurityException: com.android.externalstorage has no ac…

that is the error, does not show more if landscape.

i tried uploading but this also gives error.
it seems to be an android issue. Other mhts don't open, but ones that do open also can be uploaded - and they're all in the same folder.

Actions #1

Updated by C B 11 days ago · Edited

  • Tracker changed from Feature to Bug

I tried to test another bug before posting that, I created a new file for it and get - I moved it to another dir and still got:

content://com.android.externalstorage.documents/document/primary%3AExport.A11%2FWebs%2Flcd_tv_repair.htm could not be loaded because:

net::ERR_FILE_NOT_FOUND

I must note for you one of my other apps had a weird trouble recently, android switched the folder structure it sees which caused the memorised addresses to fail (happened to same app on another [android [8 or] 10] device too after some time) But for this app the file selector had changed to one of a more archaic appearance (which gets stuck on / if you go to top of tree, "storage" being hidden).

before:
/Vmimages/file
after:
/storage/emulated/0/Vmimages/file

But I think reinstalling app fixed the problem there (maybe only solution), thus you won't be able to test any solution straight away! DDG is the browser I am currently using for uploading to this site so it seems effected too. Android 12.

you may wish to add some code "just in case" to test the /0/ address before reporting a failure to load. as for me, the phone is full I will have to clear some files so it will install the PB fresh… remember you will have to do this for all handles, maybe flip a bit for which source to default to else some users will report problems and you won't easily know whats going on after the bug is forgotten.

Actions #2

Updated by Soren Stoutner 10 days ago

  • Status changed from New to Closed

Privacy Browser uses the Storage Access Framework. You can read a little about this at:

https://www.stoutner.com/privacy-browser-3-7/

What this means is that if you are having problems opening a file, you need to file a bug with the program that is providing the `content://` URL and not with Privacy Browser Android.

Actions #3

Updated by C B 6 days ago

i guess you don't know the name of this program, to say that. The apps I have that continued to work had to ask for fresh access permissions.

Actions #4

Updated by Soren Stoutner 6 days ago

Please read the link I posted in comment 2 above about how, for security reasons, Privacy Browser Android does not use direct file access permissions and instead uses the Storage Access Framework.

Actions

Also available in: Atom PDF