Module: Ronin::Controls::Helpers::FileOwnership
- Includes:
- FileSystem
- Defined in:
- lib/ronin/controls/helpers/file_ownership.rb
Instance Method Summary collapse
-
#chgrp(path, group) ⇒ Object
Changes the group ownership of the file at the specified path, to that of the specified group.
-
#chown(path, user) ⇒ Object
Changes the ownership of the file at the specified path, to that of the specified user.
Methods included from FileSystem
Instance Method Details
#chgrp(path, group) ⇒ Object
Changes the group ownership of the file at the specified path, to that of the specified group.
47 48 49 |
# File 'lib/ronin/controls/helpers/file_ownership.rb', line 47 def chgrp(path,group) raise(NotImplemented,"the chgrp method has not been implemented",caller) end |
#chown(path, user) ⇒ Object
Changes the ownership of the file at the specified path, to that of the specified user.
37 38 39 |
# File 'lib/ronin/controls/helpers/file_ownership.rb', line 37 def chown(path,user) raise(NotImplemented,"the chown method has not been implemented",caller) end |