You are not logged in.

#1 2012-12-26 22:17:49

kevin89
Arch Linux f@h Team Member
From: Netherlands
Registered: 2007-03-14
Posts: 218

CouchPotato / SickBeard + SABnzbd permissions

Hi,

I've been having some issues with CouchPotato & SickBeard.

After files have been downloaded by SABnzbd to their respective download folders, they should be renamed and moved to other directories, e.g. from /mnt/lvm/Downloads/Complete/Movies to /mnt/lvm/Movies (same goes for Series).
However, my downloaded files are never moved and the logs complain about wrong permissions.

My permissions are as follows:
-SABnzbd runs as my user per wiki instructions
-CouchPotato & SickBeard run as couchpotato & sickbeard users
-All these folders have Read & Write permissions for everyone.

I arranged the permissions through Thunar, but here is the ls -l for the directories.

Temporary folders:

drwxr-xr-x 59 kevin users 12288 Dec 26 22:41 Movies
drwxr-xr-x  5 kevin users  4096 Dec 26 19:15 Series

Finished folders:

drwxr-xrwx 29 kevin     users      4096 Dec 26 17:21 Movies
drwxrwxrwx 10 sickbeard sickbeard  4096 Dec 26 18:02 Series

My own user is in the couchpotato and sickbeard group as well.

I've borked my previous installation of these wonderful tools by playing around too much with chown and chmod to the point that I'm too afraid to try again (and therefore resorted to Thunar).

What would be a sensible approach to handle permissions for these applications? Maybe add one group where all services should run? I want to be able to delete folders as my normal user as well.

Cheers!

Offline

#2 2012-12-28 18:14:57

teekay
Member
Registered: 2011-10-26
Posts: 271

Re: CouchPotato / SickBeard + SABnzbd permissions

Here's my setup, if it helps:

* sabnzbd is running as default sabnzbd user
* in sabnzbd config->folders I set it to use 0777 permission for new files
* the folder for completed downloads is set to 777 without sticky bit
* the nzb watch folder is set to 0775 sabnzbd:sabnzbd
* my user is in sabnzbd group
* SickBeard runs as my user

So, I'm able to add nzbs to the watch folder myself as the watch folder is 775 without sticky bit (so sabnzbd user can delete the nzbs even they are owned by me), and sickbeard can move them as the completed dir and the files in there are 777. You could also use 775 or 770 for the completed stuff too, I didn't because it's samba shared.

Last edited by teekay (2012-12-28 18:27:08)

Offline

Board footer

Powered by FluxBB