Hi,
I have sab on an openbsd server. I have created its own user account for it to run under. The problem is I get this error.
sabnzbdplus# Traceback (most recent call last):
File "/usr/local/bin/SABnzbd-0.5.6/SABnzbd.py", line 1257, in
main()
File "/usr/local/bin/SABnzbd-0.5.6/SABnzbd.py", line 673, in main
org_dir = os.getcwd()
OSError: [Errno 13] Permission denied
What perms do I need to give it to run.
Thanks in advance.
Sabnazbdplus Permission error
Forum rules
Help us help you:
Help us help you:
- Are you using the latest stable version of SABnzbd? Downloads page.
- Tell us what system you run SABnzbd on.
- Adhere to the forum rules.
- Do you experience problems during downloading?
Check your connection in Status and Interface settings window.
Use Test Server in Config > Servers.
We will probably ask you to do a test using only basic settings. - Do you experience problems during repair or unpacking?
Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Re: Sabnazbdplus Permission error
It looks like SABnzbd isn't allowed to query the folder it was started from.
This is the active directory from where you started the command to start SABnzbd.
So not necessarily where SABnzbd.py itself lives.
This is the active directory from where you started the command to start SABnzbd.
So not necessarily where SABnzbd.py itself lives.
Re: Sabnazbdplus Permission error
Thanks but that's not it as it has permission to all of its folders/files under the user it gets executed as
Re: Sabnazbdplus Permission error
But which directory was that user in when sabnzbd was started? Have the permissions on that directory changed since sabnzbd was started?slipslip wrote: Thanks but that's not it as it has permission to all of its folders/files under the user it gets executed as
On Linux, I would look in /proc/ or use 'lsof' to see what the processes CWD was. I'm not sure what you have available on OpenBSD, but I'll assume you can use similar tools to see what it's doing.