I am getting
open failed:
EACCES (Permission denied)
on the line OutputStream myOutput = new FileOutputStream
I had the same problem on Samsung Galaxy Note 3, running CM 12.1. The issue for me was that i had
and had to use it to take and store user photos. When I tried to load those same photos in ImageLoader i got the (Permission denied)
error. The solution was to explicitly add
since the above permission only limits the write permission up to API version 18, and with it the read permission.