Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365815 - Clean up permissions on orion.eclipse.org
Summary: Clean up permissions on orion.eclipse.org
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-06 16:50 EST by Susan McCourt CLA
Modified: 2012-02-06 15:06 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.