chef-ark icon indicating copy to clipboard operation
chef-ark copied to clipboard

Ark failing on vagrant

Open jeffastorey opened this issue 11 years ago • 0 comments

I'm downloading a file using ark and then trying to extract it to "/". When running this in vagrant, I get an error saying the file doesn't exist when ark tries to unpack it (the file clearly exists). I'm guessing it's a permissions error, but I'm not sure how to work around this. My ark block looks like:

ark "my-ark-task" do url "url-to-my-file" path "/" strip_leading_dir false action :put end

When the file is downloaded by ark, it has rw permissions for owner only, and the owner is root. Root also has access to write to "/", so I'm not sure why this error is being thrown.

I'm using Ubuntu with Chef 11.2.0

jeffastorey avatar Nov 25 '13 16:11 jeffastorey