Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

stackablectl has hard coded temporary file paths, which cause concurrent operation to fail #39

@pipern

Description

@pipern

I ran stackablectl as one user, and then later as another user, and found that it leaves (maybe only when overall the operation failed) files in /tmp, which then causes subsequent invocations of stackablectl to fail if the owner of these files/folders is different:

panic: open /tmp/.helmcache/stackable-stable-index.yaml: permission denied
panic: open /tmp/.helmrepo: permission denied

Might it be that stackablectl can instead use unique filenames for these temporary files?

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