title: Zend_Search_Lucene - Can't create directory '/data/users_index'
body: <p>I have a problem creating an index with Zend_Search_Lucene.</p>
  
  <p>Now, everything works fine on my local machine so I guess there is just an issue with file permissions on the webserver.</p>
  
  <p>Here is how I'm trying to create index in controller:</p>
  
  <pre><code>$index = Zend_Search_Lucene::create('/data/users_index');
  </code></pre>
  
  <p>Of course the data directory has permissions set to 0777. Here is the directory listing:</p>
  
  <pre><code>public_html
      public      0755
          css     0755
          js      0755
          data    0777
  </code></pre>
  
  <p>Yet I'm getting this error:</p>
  
  <blockquote>
    <p>Can't create directory '/data/users_index'.</p>
  </blockquote>