Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330150 - Modifying dropins directory to read-only access does not load plug-ins
Summary: Modifying dropins directory to read-only access does not load plug-ins
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.1   Edit
Hardware: PC Windows 7
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: DJ Houghton CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-12 16:48 EST by hollisc CLA
Modified: 2010-12-20 12:02 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hollisc CLA 2010-11-12 16:48:50 EST
Build Identifier: Eclipse 3.6.1 

Reproduced on Windows 2008, Windows 7 and Linux OS as well.

Reproducible: Always

Steps to Reproduce:
1. Add plugins to the dropin directory
2. Make the dropin directory read-only
3. Start eclipse as admin

Result: Plugins added are not loaded
Expected: Plugins are loaded

If you launch Eclipse using admin before making the directory as read-only, you will not see the problem.
Comment 1 DJ Houghton CLA 2010-11-12 16:52:22 EST
Just to be clear, this is with 3.6.1 in a shared install scenario.

- install Eclipse as root
- add bundles to root/eclipse/plugins/ folder
- switch to user
- start Eclipse

Note: did not start Eclipse as root before starting as user.
Note: need to also test bundle in root/dropins/ location as well.
Comment 2 DJ Houghton CLA 2010-11-16 11:45:22 EST
I have tried to reproduce this on XP but couldn't. What I did:
- install Eclipse 3.6.1
- add bundle A to plugins
- add bundle B to dropins
- mark the install as read-only
- start Eclipse
- note in the OSGi console that both A and B are installed

I will try on Linux.
Comment 3 DJ Houghton CLA 2010-11-16 12:02:59 EST
I get the same results on Linux, everything works as expected. Hollis are there more detailed steps to reproduce this problem? Are you able to reproduce it with a basic Eclipse or only when there is a product install involved?
Comment 4 DJ Houghton CLA 2010-11-17 14:24:51 EST
It appears the problem is not reproducible right now with plain Eclipse, only with the Eclipse-based product. Further investigation is required.
Comment 5 DJ Houghton CLA 2010-12-20 12:02:53 EST
Turns out this was a problem with the adopting product and not Eclipse itself.