Fix log-permissions