Method: OpenNebula::Image#chown
- Defined in:
- lib/opennebula/image.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
173 174 175 |
# File 'lib/opennebula/image.rb', line 173 def chown(uid, gid) super(IMAGE_METHODS[:chown], uid, gid) end |