Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
FileUtils
/
//opt/alt/ruby21/share/ri/2.1.0/system/FileUtils/rm_r-i.ri
U:RDoc::AnyMethod[iI" rm_r:EFI"FileUtils#rm_r;TF:privateo: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