log rotate fix+permissions