title: How to output the non-readable contents of a directory in bash
body: <p>In bash how would one output the non-readable contents of a directory?</p>
  
  <p>For example, let's say the directory is <code>~/foo</code>, and there's a non-readable folder <code>~/foo/folder</code> with a file <code>~/foo/folder/file1.txt</code>, and another non-readable file <code>~/foo/file2.txt</code>. I want to output:</p>
  
  <pre><code>~/foo/folder cannot be read.
  ~/foo/folder/file1.txt cannot be read.
  ~/foo/file2.txt cannot be read.
  </code></pre>