title: How to check permissions of a specific directory?
body: <p>I know that using <code>ls -l "directory/directory/filename"</code> tells me the permissions of a file. How do I do the same on a directory?</p>
  
  <p>I could obviously use <code>ls -l</code> on the directory higher in the hierarchy and then just scroll till I find it but it's such a pain. If I use <code>ls -l</code> on the actual directory, it gives the permissions/information of the files inside of it, and not of the actual directory.</p>
  
  <p>I tried this in the terminal of both Mac OS X 10.5 and Linux (Ubuntu Gutsy Gibbon), and it's the same result. Is there some sort of flag I should be using?</p>