My app is targetSdkVersion = 29

I take a photo and it save at path:

> 
> src = /storage/emulated/0/DCIM/Camera/IMG\_20201120\_091943.jpg
> 
> 
> 

Then I want to copy this image to internal storage using FileInputStream/FileOutputStream. Although, my app has WRITE/READ storage permission, but when I code

```
InputStream inputStream = FileInputStream(src)

```

I received a FileNotFoundException (open failed: EACCES permission denied).

Anyone have same problem?

Note: I don't want to fix this problem by using a option AndroidManifest.xml because it is temp

> 
> android:requestLegacyExternalStorage="true"
> 
> 
>