Steps to reproduce:
- login as 'root' (or use 'sudo') and install Netbeans
- create any application (e.g. Welcome)
- run application
Result: Output window prints "dorun.sh: Permission denied"
It is a problem with files permissions.
I would agree that this is a show stopped for M3. Still 2 workarounds exist -
1 - run IDE as root (so permissions will be changed at runtime)
2 - do #chmod -R a+x dlight1/bin/ (as root)
fix is ready - build.xml changed to make chmod on required files.
Fixed with http://hg.netbeans.org/cnd-main/rev/2b35c9431ac0 in cnd-main
verified in dev build.
please push the fix into m3 clone
Also pushed to release67_m3 (http://hg.netbeans.org/release67_m3/rev/5825708dd1ca)
Integrated into 'main-golden', will be available in build *200904020200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Andrew Krasny <firstname.lastname@example.org>
Log: #161667 cannot run application if IDE was installed by root