Fix logs permissions