ruby-changes:72273
From: Burdette <ko1@a...>
Date: Tue, 21 Jun 2022 23:16:39 +0900 (JST)
Subject: [ruby-changes:72273] 2e81fd764b (master): [ruby/fileutils] Correct method references for secure removal (https://github.com/ruby/fileutils/pull/93)
https://git.ruby-lang.org/ruby.git/commit/?id=2e81fd764b From 2e81fd764b9046389f432181b5b3a3192621bde7 Mon Sep 17 00:00:00 2001 From: Burdette Lamar <BurdetteLamar@Y...> Date: Tue, 21 Jun 2022 09:16:20 -0500 Subject: [ruby/fileutils] Correct method references for secure removal (https://github.com/ruby/fileutils/pull/93) https://github.com/ruby/fileutils/commit/42c9685826 --- lib/fileutils.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/fileutils.rb b/lib/fileutils.rb index a965797b39..2ec8346d13 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -166,9 +166,9 @@ end https://github.com/ruby/ruby/blob/trunk/lib/fileutils.rb#L166 # \Method \FileUtils.remove_entry_secure removes securely # by applying a special pre-process: # -# - If the target path points to a directory, this method uses -# {chown(2)}[https://man7.org/linux/man-pages/man2/chown.2.html] -# and {chmod(2)}[https://man7.org/linux/man-pages/man2/chmod.2.html] +# - If the target path points to a directory, this method uses methods +# {File#chown}[https://docs.ruby-lang.org/en/master/File.html#method-i-chown] +# and {File#chmod}[https://docs.ruby-lang.org/en/master/File.html#method-i-chmod] # in removing directories. # - The owner of the target directory should be either the current process # or the super user (root). -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/