Log permission fix hmmm