I have built an Owncloud 10 server on ubuntu 16.04 and I wish to run fail2ban, I believe that I have made an error when configuring access to Owncloud.
sudo chown -R www-data:www-data /var/www/owncloud/, in this folder is a Data folder then a log file
fail2ban does not appear to have access to this file and I believe that it is caused by me running the
chown command. how can I resolve this issue, I can see the log file when I access the file through the Owncloud gui so it has to be a permissions issue.