title: Android 11 open failed: EACCES (Permission denied)
body: <p>I am developing an app. In which I am uploading different file types (e.g. docx, pdf, zip) to a WAMP Server. Below is path of file to my internal Storage.</p>
  <blockquote>
  <p>/storage/emulated/0/WhatsApp/Media/WhatsApp Documents/api.txt</p>
  </blockquote>
  <p>I have added and allowed storage permission in Manifest file and also on runtime for reading a file. However there is no Internal Storage Permission request available.</p>
  <pre><code>&lt;uses-permission android:name=&quot;android.permission.READ_EXTERNAL_STORAGE&quot; /&gt;
  &lt;uses-permission android:name=&quot;android.permission.WRITE_EXTERNAL_STORAGE&quot; /&gt;
  </code></pre>
  <p>and also for Android 10 I was using this attribute also</p>
  <pre><code>android:requestLegacyExternalStorage=&quot;true&quot;
  </code></pre>
  <p>But i am getting this error on Android 11 OS a.k.a Android R onboard Samsung Galaxy when I am reading file from Internal Storage for uploading.</p>
  <blockquote>
  <p>java.io.FileNotFoundException: /storage/emulated/0/WhatsApp/Media/WhatsApp Documents/api.txt: open failed: EACCES (Permission denied)</p>
  </blockquote>