Hi sepp,
I had the exact same problem you are. Its a bug in the restart file for dansguardian. The file is located at:
/usr/local/bin/restartdansguardian.py
Here is a cut-out of that file:
#exceptionsitefile = open("/etc/dansguardian/profiles/%s/exceptionsitelist" % number, "w")
exceptionsitefile = open("/etc/dansguardian/profiles/%s/exceptionsitelist" % number, "a")
exceptionsitefile.write(exceptionsitelist)
exceptionsitefile.close()
bannedsitelist = ""
if file_exists("%s/bannedsitelist" % path):
bannedsitefile = open("%s/bannedsitelist" % path, "r")
bannedsitelist = bannedsitefile.read()
bannedsitefile.close()
#bannedsitefile = open("/etc/dansguardian/profiles/%s/bannedsitelist" % number, "w")
bannedsitefile = open("/etc/dansguardian/profiles/%s/bannedsitelist" % number, "a")
bannedsitefile.write(bannedsitelist)
bannedsitefile.close()
The lines I've commented out are the originals. Basically you're replacing the "w" with "a", which means append instead of write. The lines start around line 308.