title: Unable to make file editable on Mac OS X
body: <p>I'm trying to edit the httpd.conf file located in /private/etc/apache2, and I can't figure out how to get permission to write </p>
  
  <p>I've done</p>
  
  <pre><code>$ cd /private/etc/apache2
  $ sudo chown bdh httpd.conf
  $ ls -lash
   0 drwxr-xr-x  13 root      wheel   442B Jun  7 00:11 .
   0 drwxr-xr-x  93 root      wheel   3.1K Jun 26 10:51 ..
   0 drwxr-xr-x  13 root      wheel   442B Jan  3 16:26 extra
  24 -r--r--r--   1 bdh       wheel    24K Jun  7 00:11 httpd.conf
   ...etc...
  $ vim httpd.conf
  </code></pre>
  
  <p>and it says <code>"httpd.conf" [readonly] 677L, 24330C</code></p>
  
  <p>tried <code>cp</code>ing to the desktop, but I cant get permission to edit it there either</p>
  
  <p>I'm pretty new to using the terminal, is there some other command I can use?</p>