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)
MountableFile.getUnixFileMode()asks for'unix:mode', and in case of non-posix system falls back to default0100644, 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 withchmod.I would like instead to set file mode with
copy()command, i.e.builder.copy("entryname", "path_in_container", 777)