Skip to content

This gem cannot extract magic.tgz archive from supermarket #16

@kamaradclimber

Description

@kamaradclimber

To reproduce (with mixlib-archive 0.4.1)

curl -L https://supermarket.chef.io/cookbooks/magic/download -o magic.tgz
require 'mixlib/archive'
tar = Mixlib::Archive.new("magic.tgz")
dir = '/tmp/tmp.Hxu9djBfyJ'
FileUtils.mkdir(dir)
tar.extract(dir)

This fails with:

ArgumentError: "\x80\x00\x00\x007\xB5\x91\x9E" is not an octal string
from /usr/lib/ruby/2.5.0/rubygems/package/tar_header.rb:128:in `strict_oct'

First time I've seen this is trying to use chef install command on a Policyfile depending on magic cookbook.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions