|Re: [eclipse-dev] Plugin "Updates are not permitted" for regular users >> org.eclipse.equinox.p2.ui|
You are presumably using a shared Eclipse because your IT department has decided that you should all use the exact configuration supported by the IT department and should not be allowed to change it. Therefore the Windows file system permissions should prevent your update. How the limitations of those permissions appear within Eclipse is something that I have no familiarity with; I always use 'my' Eclipse. But the bottom line is you can't do it because your It department does not want you to.
Therefore you can ask them to install something for you, you can ask them to give you administrative privileges, or you can use your own private Eclipse, if that is permitted.
On 15/10/2018 16:40, Lidia Popescu wrote:
Hello eclipse developers, namely 'rt.equinox.p2' developers,
Could you please help me to understand the problem I reported some time ago? (Previous message)
Namely, why regular users are not allowed to update plugins from a shared eclipse? I expect that plugins should be successfully applied and copied into user's cache.I tried to debug org.eclipse.equinox.p2.* plugins, and it is clear that this feature is disabled, but why?
I found that each installable unit gets property org.eclipse.equinox.p2.type.lock=3 which means that it is locked.In debug mode I hardcoded this value to "0" and the plugin has been almost successful installed, at least successful copied in user's cache, visible in Installation Details Tabs (except for Plugins)I didn't found in the code when it is set to 3 and why.Please help.
We really would like to have it possible, maybe there is a workaround, a configuration that could enable it?
line: profile.setInstallableUnitProperty(iu, entry.getKey(), entry.getValue());
Thank youKind RegardsLidia
On Thu, Oct 11, 2018 at 9:50 PM Lidia Popescu <lidochca@xxxxxxxxx> wrote:
Hello dear eclipse developers,
Could you please provide an explanation why plugin updates are not available for regular users in a shared eclipse installation? or maybe there is a configuration that could make it possible?
I have installed e.g. eclipse neon 3 on linux from admin user. My problem is that other regular users cannot update plugins that are already installed (though they are able to install new plugins, and they are able to update existing plugins from eclipse marketplace).So, e.g. a test user can update EGIt from Marketplace but not from Install New Software.What can I do to allow individual users to update existing plugins from Install New Software?
1. When a regular user is using "Install New Software" command and tries to update an existing plugin, any simple plugin that does not have any missing dependencies, he gets the error message:"Cannot complete the request. See error log for details.[PLUGIN_NAME] will be ignored because it is already installed, and updates are not permitted."
2. When a regular user tries to update same plugin from Help-> Check for updates-> Available updates dialog, he gets the message:"Insufficient access privileges to apply this update"
3. But, when a regular user tries to update existing plugin from Eclipse Marketplace, it successfully works.E.g. EGIT:Original location of eclipse is a readonly shared location and it's default paths for plugins is:~/.eclipse//features/org.eclipse.egit_184.108.40.206703071140-r/plugins/org.eclipse.egit.*
When regular user succeeds to update e.g.EGIT with Marketplace, it is copied in user's cache:~/.eclipse/org.eclipse.platform_4.6.3_1159942118_linux_gtk_x86_64/features/org.eclipse.egit_220.127.116.11810061102-r
Why does same thing is not possible from Install New Software? I badly need this feature.Is there any configuration that can make it possible?
Please help. I would be very grateful for any help.
_______________________________________________ eclipse-dev mailing list eclipse-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/eclipse-dev
eclipse-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Back to the top