Method: OpenNebula::VirtualMachine#chown
- Defined in:
- lib/opennebula/virtual_machine.rb
#chown(uid, gid) ⇒ Object
Changes the owner/group
- 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
- return
-
nil in case of success or an Error object
531 532 533 |
# File 'lib/opennebula/virtual_machine.rb', line 531 def chown(uid, gid) super(VM_METHODS[:chown], uid, gid) end |