Fix permissions garbage