maven-nar/nar-maven-plugin

Wrong assignment in NarUtil.parseOctalPermission

Opened this issue · 0 comments

Hi,

I think there is a wrong assignment:

if ((dec & 0b000010000) != 0) permissions.add(PosixFilePermission.GROUP_READ);

Should it be if ((dec & 0b000010000) != 0) permissions.add(PosixFilePermission.GROUP_WRITE);?

Greetings
Stefan