From eaca86b0a81c521fcac4f97cb52544dd0351e98c Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sun, 19 Feb 2023 19:28:21 +0100 Subject: [PATCH] Fix permissions before moving extracted files. --- Library/Homebrew/unpack_strategy.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/Homebrew/unpack_strategy.rb b/Library/Homebrew/unpack_strategy.rb index 587b5f32bc..f34355060f 100644 --- a/Library/Homebrew/unpack_strategy.rb +++ b/Library/Homebrew/unpack_strategy.rb @@ -159,9 +159,8 @@ module UnpackStrategy next end - Directory.new(tmp_unpack_dir).extract(to: to, verbose: verbose) - FileUtils.chmod_R "+w", tmp_unpack_dir, force: true, verbose: verbose + Directory.new(tmp_unpack_dir).extract(to: to, verbose: verbose) end end