title: How do I check a file's permissions in linux using Go
body: <p>I'm learning Go and the first project I want to do is to write a replacement for the Linux find shell program. I wrote a replacement for it in python in less than an hour. This is a much bigger challenge.</p>
  
  <p>The problem I'm having is as Goes <code>filepath.Walk</code> traverses my file system it spits out a bunch of permission denied messages to the screen.
  I need a way of checking the files permissions before <code>filepath.Walk</code> touches them.</p>