Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't set owner, group, mode unless unpacking the archive #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions libraries/provider_ark.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ def action_install
set_paths
action_download
action_unpack
action_set_owner new_resource.path
action_install_binaries
action_link_paths
end
Expand Down Expand Up @@ -158,7 +157,6 @@ def action_put
set_put_paths
action_download
action_unpack
action_set_owner new_resource.path
end

def action_cherry_pick_contents(full_path)
Expand All @@ -185,6 +183,7 @@ def action_unpack
cmd = expand_cmd
unless unpacked? new_resource.path
eval(cmd)
action_set_owner new_resource.path
new_resource.updated_by_last_action(true)
end
end
Expand Down