Fix permissions for term(1)