Page 1 of 1

Change the download dir

Posted: October 16th, 2012, 8:30 pm
by MortenSJ
Hi

I have an 60GB system disk and a 2TB disk for files.

Right now the complete download dir is /home/nas/download but i want it to be /disk1/Nyhedsgrupper/download.

disk1 is my mounted 2 TB harddisk. How do i change it? I tried to just write /disk1/Nyhedsgrupper/download but it says "Cannot create complete_dir folder /disk1/Nyhedsgrupper "

All the folders are created. I'm running Ubuntu Server 12.04

Re: Change the download dir

Posted: October 17th, 2012, 12:31 am
by sander
You must make sure that the user that is running SABnzbd has the rights to create folders in the destination directory.

What you could try:

mkdir /disk1/Nyhedsgrupper
chmod 777 /disk1/Nyhedsgrupper

Re: Change the download dir

Posted: October 17th, 2012, 3:37 pm
by MortenSJ
Thanks, it worked! .. Is it not possible to use 755 instead of 777?

Re: Change the download dir

Posted: October 17th, 2012, 3:41 pm
by sander
MortenSJ wrote:Thanks, it worked! .. Is it not possible to use 755 instead of 777?
Try it out and you will see & learn ...

(I would think: 5 = r.x ... no read for group and others ... then the user running SABnzbd must be the owner of that directory)

Re: Change the download dir

Posted: October 17th, 2012, 3:44 pm
by MortenSJ
I got it to work. I just change the user for the path, thanks for your help! :)

Re: Change the download dir

Posted: October 17th, 2012, 3:46 pm
by sander
MortenSJ wrote:I tried, and that didn't work.
Well, that's the answer then. ;)

... or, if you want, dive deeper into it by doing and exploring ...

Re: Change the download dir

Posted: October 17th, 2012, 3:51 pm
by MortenSJ
I will, thanks for you help! :)

Re: Change the download dir

Posted: October 17th, 2012, 4:13 pm
by MortenSJ
I got it to work, just changed the owner of the directory. thanks :)