Issues with SABNZBD

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
ZarthDK
Newbie
Newbie
Posts: 4
Joined: January 24th, 2016, 7:28 pm

Issues with SABNZBD

Post by ZarthDK »

Hi,

I am by no means a Linux geek, so i need some help

I installed SABNZBD on my NAS

If i find a NZB file it picks up the file and downloads it.

I have 2 problems (might be connected)

1) Whenever a download is complete, the permissions of the folder is only for the "admin" user and not for my personal user. IS there a way to either get other permissions on the folder (i.e. inherited permissions from parent folder) or at least set permissions to my own username?
2) Whenever im downloading, i cant seem to see the files in the "incomplete" folder - it just pops up finished in my complete folder which ive changed the path for.

Im mapping the linux drive on windows, so it might be a access right issue.

Please help me

Thanks in advance :)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Issues with SABNZBD

Post by shypike »

If you run as root, you can set a post-processing script (in the categories section).
Something like this:

Code: Select all

#!/bin/sh
cd "$1"
chown -R YOUR-USER-ID .
chgrp -R YOUR-GROUP-ID .
More info: http://wiki.sabnzbd.org/user-scripts
ZarthDK
Newbie
Newbie
Posts: 4
Joined: January 24th, 2016, 7:28 pm

Re: Issues with SABNZBD

Post by ZarthDK »

Hi,

Thanks for the answer.

How do i create the file.. i guess it needs to be .py extension

If i log on to the NAS with Putty - what exactly do i type (dont want to screw anything up ;) )

Do you know why i cant see the files in the incomplete folder? im guessing that it has to do with Windows who doesnt have the necessary rights.

I guess i could try to go to putty and type chgrp -R YOUR-GROUP-ID (suck as administrators) to the whole sabnzbd folder.

does R mean recursive?

Thanks for your help :)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Issues with SABNZBD

Post by shypike »

-R is recursive.
If doesn't need the PY extension.
However you should make it executable:
chmod +x name-of-file
and put in in SABnzbd's scripts folder (Config->Folders).

The folders in "incomplete" are not public,
this is determined by the umask of your account.
ZarthDK
Newbie
Newbie
Posts: 4
Joined: January 24th, 2016, 7:28 pm

Re: Issues with SABNZBD

Post by ZarthDK »

Hi,

Im sorry for asking you, but im really scared to fuck something up.

The script you mentioned above, is that exactly how im supposed to type it in the file including --> #!/bin/sh and then i just change my username and group for the Linux partition.

Can you explain how i can set the umask

I want my group to be able to read / write, so if im a member of administrators then i should be able to read write.

is umask working for each folder or is it a global setting?

Thanks :)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Issues with SABNZBD

Post by shypike »

The #!/bin/sh part is the marker for the operating system that this is a "shell script".

umask depends on how SABnzbd is started.
As you probably use a package create by a third party, you should ask that third party.
Post Reply