I have installed sabnzbd on my raspberry pi (debian squeeze). sabnzbd runs as a daemon.
Problem is : when i try to set my "complete" and "incomplete" folders on my NAS (SMB share), I get the following errors :
Code: Select all
2012-07-09 14:23:33,338 ERROR: Cannot change permissions of /media/usbshare1/downloads/complete/_UNPACK_FileName
2012-07-09 14:23:33,343 ERROR: Cannot change permissions of /media/usbshare1/downloads/complete/_UNPACK_ FileName
2012-07-09 14:23:42,792 ERROR: Cannot create directory /media/usbshare1/downloads/incomplete
2012-07-09 14:23:43,903 ERROR: Cannot create directory /media/usbshare1/downloads/complete
2012-07-09 14:23:44,710 ERROR: Cannot create directory /media/usbshare1/downloads/incomplete
2012-07-09 14:23:45,925 ERROR: Cannot create directory /media/usbshare1/downloads/incomplete
2012-07-09 14:23:45,942 ERROR: Cannot create directory /media/usbshare1/downloads/complete
2012-07-09 14:23:55,742 ERROR: Disk error on creating file /media/usbshare1/downloads/incomplete/FileName/File.ext
2012-07-09 14:23:56,154 ERROR: Cannot change permissions of /media/usbshare1/downloads/complete/_UNPACK_FileName
2012-07-09 14:23:56,160 ERROR: Cannot change permissions of /media/usbshare1/downloads/complete/_UNPACK_FileName/File.ext
Everything is OK when the download directory is set on the system SD card. And I don't understand why sabnzbd tries to create the folderz "incomplete" and "complete", as it already existst.
I also get a "Disk Error".
It looks like a permission problem, so I checked :
- sabnzbd runs under my main account, which is sudoer :
Code: Select all
error404@raspberrypi:~$ ps -ef | grep -i sabnzbd
error404 4895 4637 0 13:31 pts/0 00:00:00 grep -i sabnzbd
error404 8352 1 17 11:34 ? 00:20:44 /usr/bin/python -OO /usr/bin/sabnzbdplus --daemon
- my SMB share is mounted via fstab, with 777 permissions (confirmed by ls -l)
Code: Select all
error404@raspberrypi:~$ ls -l /media/usbshare1/downloads/
total 0
drwxrwxrwx 1 1024 users 0 Jul 9 11:37 complete
drwxrwxrwx 1 1024 users 0 Jul 9 11:36 incomplete
Thanks !