Download DIR Permissions unRAID cache drive

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
simpic
Newbie
Newbie
Posts: 13
Joined: November 27th, 2011, 5:13 am

Download DIR Permissions unRAID cache drive

Post by simpic »

Hi,

I am migrating my SAB, SB, CP setup from my unRAID server to my new ubuntu server. I still wish to have the Completed Folder set up as /mnt/cache which lives on the unRAID box.

I have set up a mount to /mnt/cache on the ubuntu server called the same... /mnt/cache

I can ssh into the box and look at that folder and see any content in there.

When I try and save the folders tab in config with /mnt/cache in the Downloads Folder box I get the following error...

Incorrect parameter
Cannot create complete_dir folder /mnt/cache

I assume this is because the SAB setup on the ubuntu server is running as my username on that box and the /mnt/cache mount is not, it's root from the unRAID server.

How can I use the /mnt/cache folder as the Completed Downloads folder?

Thanks in advance.

Regards,

simpic
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Download DIR Permissions unRAID cache drive

Post by shypike »

As far as SABnzbd is concerned, everything is part of the local file system.
It's up to you to make sure mounting and access rights are properly done.
The user account under which SABnzbd runs must have full access to /mnt/cache.
simpic
Newbie
Newbie
Posts: 13
Joined: November 27th, 2011, 5:13 am

Re: Download DIR Permissions unRAID cache drive

Post by simpic »

Is it possible to have SAB (and SB for that matter) running as 'nobody' on ubuntu server?
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: Download DIR Permissions unRAID cache drive

Post by jcfp »

Better just fix the actual problem: the permissions on that share. Everything else only unnecessarily complicates things.
simpic
Newbie
Newbie
Posts: 13
Joined: November 27th, 2011, 5:13 am

Re: Download DIR Permissions unRAID cache drive

Post by simpic »

Ok,

Does anyone have any ideas of how to sort the share permissions out? Really stuck here.
Post Reply