Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 365815

Summary: Clean up permissions on orion.eclipse.org
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: ServerAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: john.arthorne
Version: 0.3   
Target Milestone: 0.4 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Susan McCourt CLA 2011-12-06 16:50:49 EST
I was working in a file located in a workspace backed by directory "BT"
file/BT/bundles/org.eclipse.orion.client.git/web/orion/git/gitCommands.js

I did open resource on "GitCredentialsDialog" and it took me to
file/Dk/bundles/org.eclipse.orion.client.git/web/orion/git/widgets/GitCredentialsDialog.js

I didn't notice this at first, so I did a bunch of edits and then wondered why it didn't seem to be working when I tried the code.

This is probably a symptom of the old "write access on other workspaces" problem but I guess I'm wondering why the search engine knows about these other workspaces.  Does it search all writable workspaces?
Comment 1 John Arthorne CLA 2011-12-13 12:29:56 EST
(In reply to comment #0)
> This is probably a symptom of the old "write access on other workspaces"
> problem but I guess I'm wondering why the search engine knows about these other
> workspaces.  Does it search all writable workspaces?

Yes. Well actually search engine doesn't know anything about workspaces... it just searches all the files you have permission to access. I wrote a script to clean these permissions up but I was apprehensive of running it on a live server. I think I should just run this (backup data beforehand), and try to fix the past mistakes.
Comment 2 Susan McCourt CLA 2011-12-13 14:25:44 EST
(In reply to comment #1)
> I wrote a script to
> clean these permissions up but I was apprehensive of running it on a live
> server. I think I should just run this (backup data beforehand), and try to fix
> the past mistakes.

+1.  I have wasted lots of little bits of time editing the wrong file, etc., and then thinking something else was wrong.  It makes me stop trusting search (and it's not search's fault!)
Comment 3 John Arthorne CLA 2012-02-06 15:06:16 EST
This cleanup was done by wiping the server workspace.