Fix permissions for extracted files.

This commit is contained in:
Markus Reiter 2023-02-20 22:32:25 +01:00
parent 2d31f80f5c
commit 347bc4535f
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -172,9 +172,8 @@ module UnpackStrategy
next
end
FileUtils.chmod_R "u+w", tmp_unpack_dir, force: true, verbose: verbose
Directory.new(tmp_unpack_dir).extract(to: to, verbose: verbose)
FileUtils.chmod_R "+w", tmp_unpack_dir, force: true, verbose: verbose
end
end