Skip to content

tar of CDS object contains a full absolute path #763

@rfriedman22

Description

@rfriedman22

When a CDS object is saved with save_monocle_objects(), the tarball contains the full absolute path. This is an issue because when you untar the object, the actual CDS can be buried beneath many directories.

For example, say that I save a CDS object with save_monocle_objects(my_cds, "/path/to/foo/bar/baz/my_cds"). Then there will be a file my_cds.tar in that directory. If I download that file to another device and then untar it, the result is a directory called path, with a subdirectory called to, etc etc. The object should be saved such that when I untar my_cds.tar it becomes a directory called my_cds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions