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 108239 - Need to manually set execute permission on cnd scripts
Summary: Need to manually set execute permission on cnd scripts
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: All Linux
: P1 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
: 108540 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-27 04:00 UTC by _ gordonp
Modified: 2009-06-25 10:59 UTC (History)
0 users

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 _ gordonp 2007-06-27 04:00:41 UTC
In cnd 5.5.x, we had an installer to make various scripts executable. In the trunk
and delivered from the UC, we don't have that and (at least on Unix) our 2 scripts
don't get installed with execute permission. So major features like build, run, and
debug all fail because of this.
Comment 1 _ gordonp 2007-06-27 04:02:43 UTC
Set execute permission for Unix.
Comment 2 _ gordonp 2007-06-29 21:48:30 UTC
While fixed in both grgich_hills (5.5.1.1) and the trunk (post m10), this is really just a problem
in the trunk when using the C/C++ plugin installed via the update center.

This is really only a Linux problem. I do chmod the 2 .sh files to make them executable, but I used
/usr/bin/chmod and tested on Solaris. Any Linux whose chmod is in /bin won't have the 2 shell files
properly set (although the chmod won't cause problems as an IOException will be silently ignored).

The workaround is to change <install-cluster>/bin/domake.sh and <install-cluster>/bin/stdouterr.sh
to 755. If the plugin is installed into the userdir then install-cluster is the userdir. If installed
in the "shared" location then m10 installs the plugin into nb6.0 (I've filed issue #108546 about this).

Please document this some way in m10 (release notes perhaps?)
Comment 3 Peter Pis 2007-06-29 22:17:24 UTC
*** Issue 108540 has been marked as a duplicate of this issue. ***
Comment 4 dnikitin 2007-11-21 15:37:08 UTC
Verified in NetBeans IDE 6.0 RC2 (Build 200711201000)

-rwxr-xr-x 1 xx123456 zzzz 2687 2007-11-21 18:11 ./bin/dorun.sh
-rwxr-xr-x 1 xx123456 zzzz 2110 2007-11-21 18:11 ./bin/stdouterr.sh

scripts have right permission (755)