I am running sabnazbd as my local user, and that user is the owner of the folder. The folders also have 777 permissions.
Sabnzbd is able to see the completed/incomplete folders (no errors saying it cannot create them, etc.) but it thinks that it cannot create the temp directories in the incomplete folder. The following is from the logs:
Code: Select all
2018-02-12 14:03:36,228::INFO::[__init__:670] Adding mynzb.nzb
2018-02-12 14:03:36,234::INFO::[misc:993] Creating directories: /mnt/tank/sabnzbd/incomplete/mynzb
2018-02-12 14:03:36,242::ERROR::[__init__:867] Failure in tempfile.mkstemp
OSError: [Errno 13] Permission denied: '/mnt/tank/sabnzbd/incomplete/mynzb/__ADMIN__/SABnzbd_nzf_s4BgHb'
2018-02-12 14:03:36,243::WARNING::[nzbstuff:772] Invalid NZB file mynzb.nzb, skipping (reason=, line=0)
2018-02-12 14:03:36,243::INFO::[nzbstuff:1722] [N/A] Purging data for job mynzb (keep_basic=False, del_files=False)
Code: Select all
matthew@pms:~$ touch /mnt/tank/sabnzbd/incomplete/test2
matthew@pms:~$ ls -la /mnt/tank/sabnzbd/incomplete/
total 8
drwxrwxrwx 2 matthew matthew 4096 Feb 12 14:15 .
drwxrwxrwx 5 matthew matthew 4096 Feb 12 13:08 ..
-rw-rw-r-- 1 matthew matthew 0 Feb 12 14:15 test2
Code: Select all
matthew@pms:~$ ps aux | grep sab
matthew 1848 0.8 1.0 1994636 85404 ? Sl 14:01 0:20 /usr/bin/python -OO /usr/bin/sabnzbdplus --daemon --pidfile /var/run/sabnzbdplus/pid --server 0.0.0.0:8081
- Sab is running as user 'matthew'
- Folders have 777 permissions
- Folders are owned by 'matthew'
- I can touch files into the incomplete directory with correct permissions/users
- Sab cannot create into the directory