|
MyTweaks
My tweaks to FreeNAS to make my operation of it smoother and friendlier
IntroductionI love FreeNAS, but there are things that drive me nuts about it. This is my documentation of what I do to make my life with FreeNAS more pain free. Also included are things that I attempted that didn't work, just so others do not have to suffer the same fate ;) DetailsCIFS/SMB + Transmission = File Permission HellUnder System|Advanced|rc.conf and the following value to make transmission, APF, SMB/CIFS all use the same "guest" user:
Note If you used my previous tweak to have CIFS/SMB use the transmission user, you'll need to chown -R ftp . your shared directories to make sure everything is playing nice. settings.json blocklist_enabledBy default (for whatever reason) FreeNAS disables the use of blocklists in transmission. Simply editing the settings.json won't fix it, since it's the rc.d script telling transmission not to. To solve this we need to add a new rc.conf variable in System|Advanced|rc.conf:
Updating the Transmission BlocklistAdd the following to System|Advanced|rc.conf
Add the following to System|Advanced|Cron
Under Schedule Time:
This will update your block list every day at midnight. You can fine tune this to meet your needs. I update once a week by selecting a specific day. watcher.sh#! /bin/bash
if [ -z "$(pgrep transmission-daemon)" ]
then
rm /home/transmission/*.core
/etc/rc.d/transmission start
fiTransmission crashes on me a lot so I use this to clean up the core file and restart transmission. I have it set to run every 5 minutes in a cron job. Note I am running 0.70 at this time, but haven't checked to see if transmission is still crashing | ||||||||||||||||||||||||
Blocklist should be enabled with this setting: transmission_blocklist YES
That's a new setting for .70, but I'll add it to the list. Not sure if the transmission_noblocklist is still used or not.
Thanks so much for the transmission permissions information. I was really stuck. Now able to delete files.
cheers mate, that permission auxiliary parameter was tops!
Excellent suggestions. Thanks!
for cifs access you can also use transmission_user ftp to use the same user as the cifs
simoneau.nicolas - historically that has not worked as FTP has a shell of /bin/false and transmission would refuse to start. I'm not sure if that is still the case. I haven't tested using the ftp user with FreeNAS 0.7.2 and have stuck with using transmission everyone. I'll test and update this page if you are correct.