Page 1 of 1

irregular folder deletions - permissions?

Posted: April 26th, 2013, 6:12 am
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

Re: irregular folder deletions - permissions?

Posted: April 26th, 2013, 2:29 pm
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?

Re: irregular folder deletions - permissions?

Posted: April 26th, 2013, 2:48 pm
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?

Re: irregular folder deletions - permissions?

Posted: April 27th, 2013, 3:34 am
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.