title: Libreoffice --headless refuses to convert unless root, won't work from PHP script
body: <p>Running headless Ubuntu server 12.something. </p>
  
  <p>root@server: <code>chown www-data /my/path/ -R</code></p>
  
  <p>root@server: <code>chgrp www-data /my/path/ -R</code></p>
  
  <p>root@server: <code>chmod 755 /my/path/ -R</code></p>
  
  <p>root@server: <code>libreoffice --headless --convert-to pdf:writer_pdf_Export /my/path/foo.ppt --outdir /my/path</code></p>
  
  <pre><code>convert /my/path/foo.ppt -&gt; /my/path/foo.pdf
  </code></pre>
  
  <p>Works like a charm.</p>
  
  <hr>
  
  <p>root@server: <code>sudo -i -u www-data</code></p>
  
  <p>$<code>libreoffice --headless --convert-to pdf:writer_pdf_Export /my/path/foo.ppt --outdir /my/path</code></p>
  
  <pre><code>convert /my/path/foo.ppt -&gt; /my/path/foo.pdf
  Error: Please reverify input parameters...
  </code></pre>
  
  <p>Damn.</p>
  
  <hr>
  
  <p>root@server: <code>sudo -i -u someotheruser</code></p>
  
  <p>$<code>libreoffice --headless --convert-to pdf:writer_pdf_Export /my/path/foo.ppt --outdir /my/path</code></p>
  
  <pre><code>convert /my/path/foo.ppt -&gt; /my/path/foo.pdf
  Error: Please reverify input parameters...
  </code></pre>
  
  <p>Damn.</p>
  
  <p>Anyone have any idea? Trying to research this just confused me more. Is this probably a bug or some dependency quirk? </p>