fixed permissions problem trying to scan shares as ebox user

now it is done as root

also includes other fixes like properly handling if clamav is not running and rotation of the log