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 73478 - Netbeans run script doesn't have an execute permission
Summary: Netbeans run script doesn't have an execute permission
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: mslama
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-10 10:19 UTC by Michal Mocnak
Modified: 2006-03-13 10:07 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 Michal Mocnak 2006-03-10 10:19:28 UTC
Found in nb55 installer build #200603100300

After netbeans installation the user is unable to run netbeans becouse the
$NB_INSTALL_DIR/bin/netbeans file doesn't have an execute permissions.
Comment 1 rbalada 2006-03-10 11:08:19 UTC
Does not seem to be an issue on Build Engineering's side. Zipfile which went
into build has correct permissions and there is no change of permissions call
(chmod) after unpacking the zipfile.
Comment 2 mslama 2006-03-10 11:14:24 UTC
Ruda please list corresponding files just before installer is built. There was
no change in anything regarding permissions in installer. I will test daily
installer builds to see when it started. (But it will take some time.) I will
also build my own build on my working machine. This is all I can do....
Comment 3 mslama 2006-03-10 11:22:18 UTC
Oops recently I changed build.xml to copy all nb.dir to nb.dir.tmp first using
ant copy task. I will check if it is possible it could change permissions of
some files.
Comment 4 mslama 2006-03-10 11:29:53 UTC
Yes I can confirm it is caused by that. Ant copy task does not keep file
permissions. I will fix it now. I will use native cp.
Comment 5 rbalada 2006-03-10 11:45:57 UTC
Marku,

I've updated NB installer build shell script for 5.0, 5.5 and 6.0 codelines to
do 'ls -lRa netbeans' right before the build.
Comment 6 mslama 2006-03-10 12:14:30 UTC
Fixed in branch 'release55'. Copying of NB files uses native cp (Linux/Solaris)
to keep file permissions.

Modified:
installer/coreide/build.xml
new revision: 1.25.18.3; previous revision: 1.25.18.2

installer/coreide/Attic/copy-nbdir
new revision: 1.1.2.1; previous revision: 1.1
Comment 7 Petr Blaha 2006-03-13 10:07:05 UTC
[build 200603130300]