Module: Ronin::Controls::Helpers::FileOwnership

Includes:
FileSystem
Defined in:
lib/ronin/controls/helpers/file_ownership.rb

Instance Method Summary collapse

Methods included from FileSystem

#chdir, #cwd, #updir!

Instance Method Details

#chgrp(path, group) ⇒ Object

Changes the group ownership of the file at the specified path, to that of the specified group.

Raises:

Since:

  • 0.3.0



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.

Raises:

Since:

  • 0.3.0



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