ubuntu 16.04 apache2 php 7.0
I think I have missed configured Owncloud 10.0.3 with regard to fail2ban.
Everything is working fine from the perspective of Owncloud. However, I thought that it would be good to add fail2ban.
as I have restricted access to the server via ip address for testing.
I think the issue is that I have run this against the Owncloud folder.
sudo chown -R www-data:www-data /var/www/owncloud/ obviously fail2ban and root cannot access the /data folder which I presume has the owncloud.log file in it. I can see the failed attempts in the log file when logged in as an Admin settings general warnings fatal issues and errors log file. fail2ban cannot access this file is there any way to resolve this? can I move the log file, however, I still need to make it secure
sorry new to Owncloud and ubuntu so quite a steep learning curve