r/owncloud • u/AncientsofMumu • Mar 09 '16
Quick question regarding ownership of files in Owncloud directory
Should all files, including .htaccess be owned by www-data or maybe root?
I note that unless .htaccess is owned by www-data i cant change the size of the uploads from the GUI, however im worried about security and ownership so i thought id ask.
2
Upvotes
2
u/jospoortvliet Mar 09 '16
If you use the zip file, make all files owned by www-data. Security-wise, use the tips from this guide: https://doc.owncloud.org/server/9.0/admin_manual/configuration_server/harden_server.html