Im fairly new to unix & freenas.. but ive got it all working. After some research it all wasn't that hard as I expected.
There is however a minor problem on my side of which any of you could help me with. Im using sabnzbd to download, and sickbeard/couchpotato for post-processing.
This all works out well, however I many times get to see I dont have permissions to remove a file of which they processed.
I also see that not all programs are not running under media somehow...
Jail# ps -aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
media 22931 61.1 1.8 104052 37288 ?? SJ 11:48AM 37:16.31 /usr/pbi/headphon
media 8459 15.7 6.9 382292 143316 ?? IJ 8:01PM 451:27.27 /usr/pbi/sabnzbd -
media 23366 0.7 2.8 157040 58468 ?? SJ 12:02PM 1:31.16 /usr/pbi/sickbear
root 3130 0.0 0.0 6924 488 ?? SsJ 6:56PM 0:00.26 /usr/sbin/syslogd
root 3317 0.0 0.0 7980 548 ?? SsJ 6:56PM 0:00.28 /usr/sbin/cron -s
root 25070 0.0 0.5 74012 10940 ?? IsJ 12:27PM 0:01.83 /usr/pbi/sabnzbd-
root 25075 0.0 0.5 74012 10328 ?? IsJ 12:27PM 0:01.86 /usr/pbi/sickbear
root 25080 0.0 0.5 74012 11060 ?? IsJ 12:27PM 0:01.79 /usr/pbi/headphon
root 25085 0.0 0.6 78108 13204 ?? IsJ 12:27PM 0:02.23 /usr/pbi/couchpot
media 25328 0.0 3.3 147064 67584 ?? SJ 12:28PM 1:15.70 /usr/pbi/couchpot
root 25637 0.0 0.1 10316 2260 0 SJ 12:49PM 0:00.04 /bin/tcsh
root 25641 0.0 0.1 8048 1076 0 R+J 12:49PM 0:00.00 ps -aux
I think that is the reason why my files do not get right permissions sometimes. But i dont know how to solve it.
My sab category locations are:
/usr/pbi/Downloads/TV
/usr/pbi/Downloads/Films
/usr/pbi/Download/Muziek
sickbeard/couch/headphones postprocess them to:
/usr/pbi/Media/TV
/usr/pbi/Media/Films
/usr/pbi/Media/Muziek
both have a mount point and are accesable via cifs as a guest account.
There is however a minor problem on my side of which any of you could help me with. Im using sabnzbd to download, and sickbeard/couchpotato for post-processing.
This all works out well, however I many times get to see I dont have permissions to remove a file of which they processed.
I also see that not all programs are not running under media somehow...
Jail# ps -aux
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
media 22931 61.1 1.8 104052 37288 ?? SJ 11:48AM 37:16.31 /usr/pbi/headphon
media 8459 15.7 6.9 382292 143316 ?? IJ 8:01PM 451:27.27 /usr/pbi/sabnzbd -
media 23366 0.7 2.8 157040 58468 ?? SJ 12:02PM 1:31.16 /usr/pbi/sickbear
root 3130 0.0 0.0 6924 488 ?? SsJ 6:56PM 0:00.26 /usr/sbin/syslogd
root 3317 0.0 0.0 7980 548 ?? SsJ 6:56PM 0:00.28 /usr/sbin/cron -s
root 25070 0.0 0.5 74012 10940 ?? IsJ 12:27PM 0:01.83 /usr/pbi/sabnzbd-
root 25075 0.0 0.5 74012 10328 ?? IsJ 12:27PM 0:01.86 /usr/pbi/sickbear
root 25080 0.0 0.5 74012 11060 ?? IsJ 12:27PM 0:01.79 /usr/pbi/headphon
root 25085 0.0 0.6 78108 13204 ?? IsJ 12:27PM 0:02.23 /usr/pbi/couchpot
media 25328 0.0 3.3 147064 67584 ?? SJ 12:28PM 1:15.70 /usr/pbi/couchpot
root 25637 0.0 0.1 10316 2260 0 SJ 12:49PM 0:00.04 /bin/tcsh
root 25641 0.0 0.1 8048 1076 0 R+J 12:49PM 0:00.00 ps -aux
I think that is the reason why my files do not get right permissions sometimes. But i dont know how to solve it.
My sab category locations are:
/usr/pbi/Downloads/TV
/usr/pbi/Downloads/Films
/usr/pbi/Download/Muziek
sickbeard/couch/headphones postprocess them to:
/usr/pbi/Media/TV
/usr/pbi/Media/Films
/usr/pbi/Media/Muziek
both have a mount point and are accesable via cifs as a guest account.