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 183572 - dorun.sh has wrong permissions
Summary: dorun.sh has wrong permissions
Status: RESOLVED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Harness (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-06 14:39 UTC by soldatov
Modified: 2010-04-09 04:43 UTC (History)
1 user (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 soldatov 2010-04-06 14:39:41 UTC
I can't launch any C/C++ project in gnome-terminal, because dorun.sh and hostinfo.sh has wrong permissions

Scenario:
- Download OS independent Zip from http://bits.netbeans.org/download/trunk/nightly/latest/zip/netbeans-trunk-nightly-201004060201-cpp.zip
- Unpack into /usr/local/netbeans
- Check dorun.sh and hostinfo.sh files

vs157455@ifdefqe-02:/usr/local/1/netbeans> ls -lah ./ide/bin/nativeexecution/
total 8.0K
drwxr-xr-x 12 root root  424 2010-04-06 02:27 .
drwxr-xr-x  3 root root   80 2010-04-06 02:27 ..
-rw-r--r--  1 root root  548 2010-04-06 05:03 dorun.sh
-rw-r--r--  1 root root 2.9K 2010-04-06 05:03 hostinfo.sh
drwxr-xr-x  2 root root  136 2010-04-06 02:27 Linux-x86
drwxr-xr-x  2 root root  136 2010-04-06 02:27 Linux-x86_64
drwxr-xr-x  2 root root  136 2010-04-06 02:27 MacOSX-x86
drwxr-xr-x  2 root root  136 2010-04-06 02:27 MacOSX-x86_64
drwxr-xr-x  2 root root  160 2010-04-06 02:27 SunOS-sparc
drwxr-xr-x  2 root root  160 2010-04-06 02:27 SunOS-sparc_64
drwxr-xr-x  2 root root  160 2010-04-06 02:27 SunOS-x86
drwxr-xr-x  2 root root  136 2010-04-06 02:27 SunOS-x86_64
drwxr-xr-x  2 root root  136 2010-04-06 02:27 Windows-x86
drwxr-xr-x  2 root root  104 2010-04-06 02:27 Windows-x86_64
Comment 1 dlipin 2010-04-06 17:23:36 UTC
In fact, FindExecutables works differently on Ant 1.7.1 and 1.8.0.

I haven't dived deeply into the code but it seems that addProperty(String n, String v) is never executed in the Load class when using 1.8.0.
Comment 2 Andrew Krasny 2010-04-06 18:15:37 UTC
Dmitry, 
thanks for looking into this and redirecting to the right category.
Comment 3 Jesse Glick 2010-04-06 18:26:42 UTC
core-main #0b2b826dcacc
Comment 4 Quality Engineering 2010-04-09 04:43:40 UTC
Integrated into 'main-golden', will be available in build *201004090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0b2b826dcacc
User: Jesse Glick <jglick@netbeans.org>
Log: #183572: dorun.sh has wrong permissions