in src/main/java/org/apache/netbeans/nbpackage/ArchiveUtils.java [292:300]
private static void setPosixPermissions(Path path, Set<PosixFilePermission> permissions) throws IOException {
if (Files.isSymbolicLink(path)) {
return;
}
final PosixFileAttributeView posixFileAttributeView = Files.getFileAttributeView(path, PosixFileAttributeView.class, NOFOLLOW_LINKS);
if (posixFileAttributeView != null) {
posixFileAttributeView.setPermissions(permissions);
}
}