2

I cannot access local HTML files at external SD card on my Lenovo S6000 within Chrome. It is mounted at /mnt/extSdCard. Browsing to file:///mnt/extSdCard does show this message:

The file at file:///storage/sdcard0/foo/bar.html is not readable. It may have been removed, moved, or file permissions may be preventing access. Error code (ERR_ACCESS_DENIED)

I've tried multiple browsers. Some show the app and doesn't work, some show the app and does work, some show the above error. Interestingly, I have 2 tablets. The one with updated firmware is the one that doesn't work. I held off on the update on the 2nd and Chrome works with local HTML files.

From comments:

$ls -l index.html
-rw-rw-r-- root  sdcard_rw  8097  2013-11-20 10:40 index.html
ale
  • 19,737
  • 34
  • 111
  • 161
John Sampson
  • 31
  • 1
  • 1
  • 5

1 Answers1

0

In case some one else comes across this. I did not completely figure out why 1 updated firmware tablet works and 1 non updated tablet does not with the same file path from sdcard0. I did notice on the updated firmware tablet in storage I have folders emulated(read only), sdcard0(read/write), and sdcard1(neither). What I understand these are android 4.2 multiuser folders.

Using the html file from either legacy/0 folders within the emulated folder turns out to work fine with Chrome. Both those folders are read and write. So that is my solution for now.

Side note, the emulated folder is not on the non updated firmware tablet.

John Sampson
  • 31
  • 1
  • 1
  • 5