Fix permissions for extracted files.
This commit is contained in:
parent
2d31f80f5c
commit
347bc4535f
@ -172,9 +172,8 @@ module UnpackStrategy
|
|||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|
||||||
|
FileUtils.chmod_R "u+w", tmp_unpack_dir, force: true, verbose: verbose
|
||||||
Directory.new(tmp_unpack_dir).extract(to: to, 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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user