Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 161667 - Can not run application if IDE was installed by root
Can not run application if IDE was installed by root
Product: cnd
Classification: Unclassified
Component: Profile
All Linux
: P1 (vote)
: 6.x
Assigned To: issues@cnd
Depends on:
  Show dependency treegraph
Reported: 2009-04-01 13:28 UTC by Alexander Pepin
Modified: 2009-04-02 07:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2009-04-01 13:28:01 UTC
Steps to reproduce:
- login as 'root' (or use 'sudo') and install Netbeans
- create any application (e.g. Welcome)
- run application
Result: Output window prints " Permission denied"
Comment 1 Andrew Krasny 2009-04-01 13:35:37 UTC
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. 
Comment 2 Andrew Krasny 2009-04-01 13:41:57 UTC
Fixed with in cnd-main
Comment 3 Alexander Pepin 2009-04-01 14:27:48 UTC
verified in dev build.
please push the fix into m3 clone
Comment 4 Andrew Krasny 2009-04-01 14:32:04 UTC
Also pushed to release67_m3 (
Comment 5 Quality Engineering 2009-04-02 07:29:20 UTC
Integrated into 'main-golden', will be available in build *200904020200* on (upload may still be in progress)
User: Andrew Krasny <>
Log: #161667 cannot run application if IDE was installed by root

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo