repair permission