title: Error occurs when trying to delete file in DCIM on Android
body: <p>An error occurs when trying to change file attributes or delete file in DCIM on Unity Android App.</p>
  
  <p>The codes are as follows.</p>
  
  <p>a)<code>File.SetAttributes(config.inputPath, FileAttributes.Normal);</code></p>
  
  <p>b)<code>File.Delete(config.inputPath);</code></p>
  
  <p>The error is as follows.</p>
  
  <pre><code>2019-10-08 12:05:37.205 19864-19910/? E/Unity: UnauthorizedAccessException: Access to the path
  "/storage/emulated/0/Android/data/jp.ne.company.app/files/../../../../DCIM/VideoRecorders/20191008120525_video.mp4" is denied.
  </code></pre>
  
  <p>By the way, files in the application-specific directories (/storage/emulated/0/Android/data/jp.ne.company.app/files/) can be deleted normally.</p>
  
  <p>Also, I can copy files to DCIM. The code is as follows.</p>
  
  <pre><code>System.IO.File.Copy (Application.persistentDataPath + "/" + VIDEO_NAME + ".mp4", Application.persistentDataPath + GALLERY_PATH + "/" + saveDate + "_video.mp4");
  </code></pre>