This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
An unexpected use-case was described - installation goes on a linux machine, while the product will be used from windows via samba, thus removing windows-related files would hurt the user experience. The files permissions, should be the same as in the original product zip file, thus they should be read from the created metadata, instead of the engine trying to guess which is correct.
*** Issue 105609 has been marked as a duplicate of this issue. ***
Changing to P2 defect because it seriously affects ability to use NB on unixes to generate an NB platform application for windows - it is impossible.
*** Issue 105497 has been marked as a duplicate of this issue. ***
In particular, files in the harness/ cluster must NOT be removed, as they are destined for use in applications built by the user which must be cross-platform.
I've disabled removing files irrelevant to the current platform in all netbeans components. The issue is not yet completely closed as we need to resolve the files permissions part of it. So far the current behavior harmless, but not exactly "proper".
Since Dima has implemented the native chmod call, we can safely restore the original files permissions without much worrying about performance.
-> FIXED
Verifying installer issues.