title: 'Invalid argument' error when using 'chown apache' on web server folder
body: <p>On a mac in terminal when executing:</p>
  
  <pre><code>chown apache uploads/
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>chown: apache: Invalid argument
  </code></pre>
  
  <p>The foder is on a shared web server. I need to change the owner of the folder because otherwise my PHP script for creating simple text files will return a permission denied error. Please don't suggest chmodding the folder to 777 (which does work), since almost all advice against it.</p>
  
  <p>Is it possible that the server doesn't run scripts as the user 'apache'? How can I find this out?</p>