Remove debug permissions.