@rbac(('owner', 'user'))
    def set(self, path, value):
        """
        Don't allow setting of 'command' or 'resources' by a remote client.
        """
        if path in ('command', 'resources', 'get_access_controller') \
           and remote_access():
            self.raise_exception(path % '%r may not be set() remotely',
                                 RuntimeError)
        return super(ExternalCode, self).set(path, value)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.lib/src/openmdao/lib/components/external_code.py/ExternalCode.set/swapped operands of `%`