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 228010 - Cannot extend C/C++ distro with default installation method as user if IDE was installed as root
Summary: Cannot extend C/C++ distro with default installation method as user if IDE wa...
Status: RESOLVED DUPLICATE of bug 227956
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 7.3
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-27 15:40 UTC by Jiri Kovalsky
Modified: 2013-04-08 14:12 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the error message when user tries to install plugin into his/her directory. (90.81 KB, image/png)
2013-03-27 15:40 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2013-03-27 15:40:16 UTC
Created attachment 133144 [details]
Screenshot of the error message when user tries to install plugin into his/her directory.

Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.6.0_43; Java HotSpot(TM) Client VM 20.14-b01
Runtime: Java(TM) SE Runtime Environment 1.6.0_43-b01
System: Linux version 3.0.0-12-generic running on i386; UTF-8; cs_CZ (nb)
User directory: /home/cesilko/.netbeans/7.3
Cache directory: /home/cesilko/.cache/netbeans/7.3

Description:
============
Maybe this is just a duplicate of issue #227956. If I install C/C++ distribution of NetBeans IDE 7.3 as root into user's home directory and then launch it as the user, I cannot install any plugin via default plugin installation method due to permission problems. See attached screenshot. If I change Plugin Install Location setting to use "Force install into user directory" option, it works. BTW, this problem does not occur with JavaSE distro.

Steps to reproduce:
===================
1. Become root on your computer.
2. Install netbeans-7.3-cpp-linux.sh distribution into user's home directory e.g. "/home/cesilko/netbeans-7.3/".
3. Launch the IDE as user.
4. Invoke "Tools > Plugins". Make sure that "Plugin Install Location" setting in "Settings" tab is set to "Default".
5. Check some plugin in "Available Plugins" tab and push "Install" button.
6. Push "Next >" button.
7. The error message will stop you.
Comment 1 Jiri Rechtacek 2013-04-08 14:12:48 UTC

*** This bug has been marked as a duplicate of bug 227956 ***