irregular folder deletions - permissions?

Support for the Debian/Ubuntu package, created by JCFP.
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
sufr3ak
Newbie
Newbie
Posts: 21
Joined: July 13th, 2011, 5:44 am

irregular folder deletions - permissions?

Post by sufr3ak »

I feel this is a permissions issue, but I'm not a linux expert, so I'm not sure where to look.

I am running SAB and Sickbeard on a Synology device. Everything is working fine for the most part, except sometimes I'll find that sometimes the TV folder under my complete folder will leave folders behind. I haven't been able to find a rhyme or reason. ie - some files came down via RSS, and were processed perfectly. Other files came from SB and were processed perfectly. Some files came from SB and were processed perfectly, but the folders remained.

Is there a way to change what account SAB runs under? What folders should have what permissions?

Code: Select all

Syn> ls -al /volume1/downloads/unsortedtv/
drwxrwxrwx    8 Bob      users         4096 Apr 26 05:18 .
drwxrwxrwx   11 root     root          4096 Apr 25 01:54 ..
drwxrwxrwx    2 admin    users         4096 Apr 26 01:16 Community.S04E11.720p.HDTV.X264-DIMENSION
drwxrwxrwx    2 sabnzbd  users         4096 Apr 26 05:17 Storage.Wars.S04E03.PROPER.720p.HDTV.x264-EVOLVE
drwxrwxrwx    2 admin    users         4096 Apr 26 01:44 The.Office.US.S09E20.720p.HDTV.X264-DIMENSION.nzb
drwxrwxrwx    2 admin    users         4096 Apr 26 02:38 _UNPACK_Glee.S04E20.HDTV.x264-LOL
drwxrwxrwx    3 admin    users         4096 Apr 26 05:18 _UNPACK_Storage.Wars.S04E03.PROPER.720p.HDTV.x264-EVOLVE
drwxrwxrwx    2 admin    users         4096 Apr 26 01:17 _UNPACK_The.Big.Bang.Theory.S06E21.720p.HDTV.X264-DIMENSION
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: irregular folder deletions - permissions?

Post by shypike »

sufr3ak wrote:Is there a way to change what account SAB runs under?
That's determined by the creator of the Synology package.
Have you tried on their forum?
sufr3ak
Newbie
Newbie
Posts: 21
Joined: July 13th, 2011, 5:44 am

Re: irregular folder deletions - permissions?

Post by sufr3ak »

Every time I go there, they refer me to here or SB's forums, since they don't create the apps.

Ignoring the fact that its a synology, and its just a linux based install...how would I change the permissions?

What about the permissions on the folders? What should they be?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: irregular folder deletions - permissions?

Post by shypike »

sufr3ak wrote: Ignoring the fact that its a synology, and its just a linux based install...
It's not just another Linux install. Each package creator makes his own choices in this area.
SABnzbd doesn't care about the details of access rights.
It just wants to be able to write to its admin folders, plus "complete" and "incomplete".
There's also a possibility to adjust permissions after post-processing (Config->Folders),
but that's not for its own access.

I'll move your post to the Linux forum.
Post Reply