title: PostgreSQL permissions issue after upgrading to OS X Lion
body: <p>After upgrading to Lion, I get the following error when trying to start up the Postgres server:</p>
  
  <blockquote>
    <p>pg_ctl: could not open PID file "/usr/local/var/postgres/postmaster.pid": Permission denied</p>
  </blockquote>
  
  <p>I also tried to re-run the initdb command, but ran into a similar problem:</p>
  
  <blockquote>
    <p>initdb: could not access directory "/usr/local/var/postgres": Permission denied</p>
  </blockquote>
  
  <p>If it matters, PostgreSQL was installed via Homebrew. Running <code>brew info postgresql</code> yields the expected results (version, summarized docs).</p>