Method: OpenNebula::VMGroup#chown

Defined in:
lib/opennebula/vm_group.rb

#chown(uid, gid) ⇒ nil, OpenNebula::Error

Changes the owner/group

Parameters:

  • uid (Integer)

    the new owner id. Set to -1 to leave the current one

  • gid (Integer)

    the new group id. Set to -1 to leave the current one

Returns:



100
101
102
# File 'lib/opennebula/vm_group.rb', line 100

def chown(uid, gid)
    super(VMGROUP_METHODS[:chown], uid, gid)
end