[Bug] zipfs unintentionally ignores umask/permissions
Alan.Bateman at oracle.com
Mon Aug 19 16:48:46 UTC 2019
On 19/08/2019 16:39, Osipov, Michael wrote:
> Note that this also happens when the file is already there. The
> permissions are *not* retained and this causes here a lot of grief.
> zip(1) does not suffer from this nor does ZipOutputStream as you can see.
> I'd expect that reading the attributes from zfpath, moving and then
> settings them is a good option.
Thanks for the bug report, I've created JDK-8229888  to track it.
More information about the core-libs-dev