Page 1 of 1

Permissions problem, sab or SB?

Posted: September 20th, 2016, 5:22 am
by tucansam
It seems that sickbeard is no longer supported, at all, so forgive me, but this may be a sickbeard problem. Although I don't know how....

I have an unraid server for media. The way unraid works, every file that is not specifically assigned to a person (user) belongs to 'nobody.'

I had sickbeard/sab running on a Windows 7 machine under user "bob." Everything ran great, downloads for "TV Show 1" went into "\tv_shows\TV Show 1" etc.

SB started acting up so I installed it on a linux VM. That is running great in terms of searching and talking to Sab. But when stuff is downloaded, it looks like this"

\tv_shows\TV Show 1 e1s1\files
\tv_shows\TV Show 1 e1s2\files
\tv_shows\TV Show 1 e1s3\files
\tv_shows\TV Show 1 e1s4\files

That is to say, the shows are being created in their own episode folders off the root of the share, rather than being dumped in the folder already created for the show.

Again, this worked 100% on Windows.

Also, I recently tried to add a show with SB, and it couldn't create the folder. So I know its a permissions problem.

I have tried SB/sab on linux a half dozen times in the last few years, and every time I run into this exact same problem. i have never been able to hammer out a solution.

I tried changing permissions on the necessary folders in unraid to accessible by everyone, no luck. Tried changing ownership to the user under which sb is running under the linux vm, no luck.

But I don't understand why sab, which is still running under Windows, and which is the final entity to handle the files, is having trouble writing to the proper directory.

Any help welcome.

Re: Permissions problem, sab or SB?

Posted: September 20th, 2016, 6:26 am
by shypike
Normally SABnzbd isn't the last one to touch the files.
You shouldn't use SABnzbd's Sorting, but use the Sab2Sickbeard script.
You let SickBeard move the files around to their final destination.