Sabnazbdplus Permission error

Get help with all aspects of SABnzbd
Forum rules
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.
Post Reply
slipslip
Newbie
Newbie
Posts: 2
Joined: February 10th, 2011, 9:18 am

Sabnazbdplus Permission error

Post by slipslip »

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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnazbdplus Permission error

Post by shypike »

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.
slipslip
Newbie
Newbie
Posts: 2
Joined: February 10th, 2011, 9:18 am

Re: Sabnazbdplus Permission error

Post by slipslip »

Thanks but that's not it as it has permission to all of its folders/files under the user it gets executed as
phyber
Newbie
Newbie
Posts: 5
Joined: February 10th, 2011, 9:12 am

Re: Sabnazbdplus Permission error

Post by phyber »

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
But which directory was that user in when sabnzbd was started? Have the permissions on that directory changed since sabnzbd was started?
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.
Post Reply