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.

Bug 73899 - execution permission not set on stdouterr.sh (CND installer)
Summary: execution permission not set on stdouterr.sh (CND installer)
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: _ gordonp
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-22 18:56 UTC by Thomas Preisler
Modified: 2012-05-10 13:04 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2006-03-22 18:56:19 UTC
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.
Comment 1 mslama 2006-03-23 08:15:25 UTC
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.
Comment 2 Michal Zlamal 2006-03-23 14:17:08 UTC
Fixed in the level of build system.
However the cluster zip file still contains wrong permission and cnd team should 
fix its production.
Comment 3 Thomas Preisler 2006-03-23 16:33:53 UTC
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.
Comment 4 mslama 2006-03-23 17:06:42 UTC
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.
Comment 5 _ gordonp 2006-03-23 17:38:52 UTC
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.
Comment 6 _ gordonp 2006-08-11 01:15:56 UTC
This was fixed long ago (although I verified it this morning).
Comment 7 Maria Tishkova 2007-11-02 14:36:34 UTC
closed as was verified a long time ago