service nzbhydra2 start
Traceback (most recent call last):
File "/usr/local/share/nzbhydra2/nzbhydra2wrapper.py", line 541, in <module>
File "/usr/local/share/nzbhydra2/nzbhydra2wrapper.py", line 136, in setupLogger
File "/usr/local/lib/python2.7/os.py", line 150, in makedirs
File "/usr/local/lib/python2.7/os.py", line 157, in makedirs
OSError: [Errno 13] Permission denied: '/usr/local/nzbhydra2'
/usr/local/etc/rc.d/nzbhydra2: WARNING: failed to start nzbhydra2
Thank you! I'll get this fixed and submitted after dinner!
Created attachment 201782 [details]
fix nzbhydra.in to set permissions
Added logic to set proper permissions and create data directory if it doesn't exist.
A commit references this bug:
Date: Fri Feb 8 22:45:49 UTC 2019
New revision: 492464
news/nzbhydra2: update to 2.3.6
- while here, also address the issue of the missing data directory
Submitted by: Daniel Shafer <email@example.com> (maintainer)
Differential Revision: https://reviews.freebsd.org/D19091