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

Summary: in netbeans zip distribution ppriv has incorrect file permissions
Product: cnd Reporter: Andrew Krasny <akrasny>
Component: executionAssignee: Andrew Krasny <akrasny>
Status: VERIFIED FIXED    
Severity: normal CC: apepin, dlipin, sustaining, thp, vv159170
Priority: P2    
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

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