title: Javascript check file in directory is readable writable or executable
body: <p>I am using below code to select a directory and read each file from that directory</p>
  
  <pre><code>&lt;input type="file"onchange="checkFiles(this.files)" webkitdirectory directory multiple&gt;
  </code></pre>
  
  <p>In below code I am able to read each files in directory and it properties like name, size and type.
  But did not found any way to check if files are readable, writable  or executable.</p>
  
  <pre><code>function checkFiles(files) {
      for (var i = 0; i &lt; files.length; i++) {
          //check for readable writable or executable files
      }
  }
  </code></pre>