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.
This issue is for the CND installer. The Linux/Unix installer doesn't not set execution permission on the script file cnd1/bin/stdouterr.sh causing project builds and project execution to fail. This is a very serious problem and should be fixed asap. This problem was found in the Linux installer built 3/22/2006 but I suspect it is in all Unix/Linux installers.
I checked cluster zip from 060323 and cnd1/bin/stdouterr.sh does not have exec bit set: [bin]> pwd /home.local/mslama/cnd1/bin [bin]> ll total 8 -rw-r--r-- 1 mslama mslama 571 Mar 23 07:19 stdouterr.bat -rw-r--r-- 1 mslama mslama 506 Mar 23 07:19 stdouterr.sh RE should set correct file permissions in cluster zip file. Installer keeps file permissions. Passing to Michal.
Fixed in the level of build system. However the cluster zip file still contains wrong permission and cnd team should fix its production.
I'm not sure I understand what we need to do. Pls explain. It is only 'stdouterr.sh' that needs execution permission and I think we set it in our build script.
Whatever creates stdouterr.sh must set exec flag on it before cluster zip is created. It is not set as you can see when you unzip cluster zip and check file permission of stdouterr.sh. Of course cluster zip file must be created on Unix to keep Unix file permissions in zip file.
The script is chmod'ed in the default ("netbeans") target. If I look at it in my build area it has the correct permission. When you build the installer do you skip the "netbeans" target or create the zip from the cluster before this target completes? Those are the only reason I can think of for this behavior. Is the cluster zip file made by default? I thought you had to explicitly ask for it to get built.
This was fixed long ago (although I verified it this morning).
closed as was verified a long time ago