Skip to content

[feature request] Add file permission to CopyToContainer #786

@stormshield-gt

Description

@stormshield-gt

CopyToContainer will perform the copy as a root user, which will cause a permission issue for containers running with an unprivileged user.

To work around this, the go-testcontainers have a mode parameters that allow to configure the permission of the copied file.

I think it will be a nice addition to this library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions