Cannot create temp file for /etc/sabnzbd.conf.tmp [Solved]
Posted: October 18th, 2011, 11:11 pm
Ever since an update a while back my logs have been spammed with "Cannot create temp file for /etc/sabnzbd.conf.tmp" every ~30 seconds. I have recently noticed that changes to the configuration in the UI are not saved to /etc/sabnzbd.conf, though /etc/sabnzbd.conf.tmp is being updated. The user Sabnzbd runs as has read and write permissions for both /etc/sabnzbd.conf and /etc/sabnzbd.conf.tmp. I've even tried chmod 666 on both files and the error persists. Is there some other file that needs its permissions adjusted to fix this?
edit: Moved /etc/admin and /etc/sabnzbd.conf to it's own dir /etc/sabnzbd/ and have not seen any errors yet and the conf seems to be updating as it should. It still seems to want to use /etc/sabnzbd.conf.tmp, though. It would be nice to put that in a more appropriate place for temp files.
edit: Moved /etc/admin and /etc/sabnzbd.conf to it's own dir /etc/sabnzbd/ and have not seen any errors yet and the conf seems to be updating as it should. It still seems to want to use /etc/sabnzbd.conf.tmp, though. It would be nice to put that in a more appropriate place for temp files.