Skip to content

ability to set file mode (when copying from Windows host to *nix container) #446

@glebsts

Description

@glebsts

MountableFile.getUnixFileMode() asks for 'unix:mode', and in case of non-posix system falls back to default 0100644, and sets that as file mode inside tar archive. If I want file to be writeable inside container (i.e. by logger in my jetty app), I need to do some additional trick with chmod.
I would like instead to set file mode with copy() command, i.e.
builder.copy("entryname", "path_in_container", 777)

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