bryanwb / chef-ark

An archive unpacker and installer
59 stars 20 forks source link

Ark failing on vagrant #43

Open jeffastorey opened 10 years ago

jeffastorey commented 10 years ago

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