• Who should be the owner of my /var/www/html/owncloud directory? By default it is root because I have to unzip as root in this directory.
  • Should I change the owner of this directory to www-data then?
  • Should I do it recursively?

I understand that the ownCloud data directory (which is located at /home/<username>/owncloud-data) has to have www-data as owner so the Apache server is able to write to that directory.

Same question applies to WordPress and MantisBT for example.


Owncloud provides comprehensive settings for 'strict' permissions in its administration manual. Check here: OC Manual Other settings might be possible. Please keep in mind that with strict settings, auto update does not work.

  • exactly what I was looking for! :) – Willi Mentzel Mar 10 '16 at 14:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.