| Server IP : 162.214.74.102 / Your IP : 216.73.217.46 Web Server : Apache System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64 User : lrsys ( 1015) PHP Version : 5.6.40 Disable Function : exec,passthru,shell_exec,system MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/FileUtils/ |
Upload File : |
U:RDoc::AnyMethod[iI" rm_r:EFI"FileUtils#rm_r;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [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.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"'FileUtils.rm_r Dir.glob('/tmp/*')
;TI"/FileUtils.rm_r 'some_dir', :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, force: nil, noop: nil, verbose: nil, secure: nil);T@"FI"FileUtils;FcRDoc::NormalModule00