fix permissions on the log folder on boot