Repository URL to install this package:
|
Version:
2.2.2-1 ▾
|
U:RDoc::AnyMethod[iI" rm_r:EFI"FileUtils::rm_r;FT:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"'Options: force noop verbose secure;To:RDoc::Markup::BlankLine o;
; [I"Fremove files +list+[0] +list+[1]... If +list+[n] is a directory, ;TI"?removes its all contents recursively. This method ignores ;TI"-StandardError when :force option is set.;T@o:RDoc::Markup::Verbatim; [I"'FileUtils.rm_r Dir.glob('/tmp/*')
;TI"8FileUtils.rm_r '/', :force => true # :-)
;T:@format0o;
; [I"5WARNING: This method causes local vulnerability ;TI"Gif one of parent directories or removing directory tree are world ;TI"Jwritable (including /tmp, whose permission is 1777), and the current ;TI"Jprocess has strong privilege such as Unix super user (root), and the ;TI"Lsystem has symbolic link. For secure removing, read the documentation ;TI"Hof #remove_entry_secure carefully, and set :secure option to true. ;TI"Default is :secure=>false.;T@o;
; [I"LNOTE: This method calls #remove_entry_secure if :secure option is set. ;TI"#See also #remove_entry_secure.;T:
@fileI"lib/fileutils.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(list, options = {});T@%FI"FileUtils;FcRDoc::NormalModule00