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 179673 - in netbeans zip distribution ppriv has incorrect file permissions
Summary: in netbeans zip distribution ppriv has incorrect file permissions
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 6.x
Hardware: PC All
: P2 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 08:19 UTC by Andrew Krasny
Modified: 2010-01-26 09:19 UTC (History)
5 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 Andrew Krasny 2010-01-19 08:19:36 UTC
dlight has ppriv executable that needs to have +x permissions. nativeexecution's project properties has 
nbm.executable.files=bin/nativeexecution/**

So, if a standard installed-based distribution is used everything is OK.
But in case when zip distribution is used, ppriv has no +x...
Comment 1 Andrew Krasny 2010-01-19 08:21:33 UTC
The problem is that nbbuild/build.xml sets regexp that is used for giving executable permissions that doesn't matches required files.
Comment 2 Andrew Krasny 2010-01-19 08:28:30 UTC
http://hg.netbeans.org/cnd-main/rev/66b009ca3eeb
Comment 3 Andrew Krasny 2010-01-19 08:31:32 UTC
The way to verify the fix is to wait for a nightly nb build, download zip distribution and check that permissions are set.
Comment 4 Andrew Krasny 2010-01-20 05:54:21 UTC
Still no nightly build... Though, the fix is very safe (Vladimir, please review).
I think that we can promote it to patch1... (I have tested it locally)
Comment 5 dlipin 2010-01-20 06:00:13 UTC
verified, please push to release68_fixes.
Comment 6 Andrew Krasny 2010-01-20 06:03:37 UTC
thanks, Dmitry!
Comment 7 pgebauer 2010-01-20 11:42:42 UTC
The fix has been ported into the release68_fixes repository.
http://hg.netbeans.org/release68_fixes/rev/afa57109cf36
Comment 8 Alexander Pepin 2010-01-26 09:19:38 UTC
verified in patch1 candidate zip distribution