Thank you for upgrading this to v6.1!
I'm receiving an error when the deaemon is trying to purge hosts.deny. Do I need to change permissions in my /etc directory to allow DenyHosts to write to the file?
The denyhosts.out log is:
2016-04-05 07:57:45,772 - denyhosts : INFO new denied hosts: ['113.183.70.101', '113.190.244.206', '193.201.227.175', '185.110.132.54', '14.182.86.235']
2016-04-05 07:58:15,802 - denyfileutil: INFO purging entries older than: Tue Mar 22 07:58:15 2016
2016-04-05 07:58:15,803 - denyfileutil: WARNING [Errno 13] Permission denied: '/etc/hosts.deny.purge.bak'
2016-04-05 07:58:15,803 - root : ERROR [Errno 13] Permission denied: '/etc/hosts.deny.purge.tmp'
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/DenyHosts/deny_hosts.py", line 241, in sleepAndPurge
purge_time)
File "/usr/lib64/python2.7/site-packages/DenyHosts/denyfileutil.py", line 145, in __init__
purged_hosts = self.create_temp(self.get_data())
File "/usr/lib64/python2.7/site-packages/DenyHosts/denyfileutil.py", line 218, in create_temp
raise e
IOError: [Errno 13] Permission denied: '/etc/hosts.deny.purge.tmp'