Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orion-dev] Adding allowed file paths in windows

What you're seeing could be a side effect of Orion's counter-intuitive selection behavior. The Link to Server command only shows up when nothing is selected in the file tree. When there are other files or folders in your workspace, one of them may be getting selected for some reason, which would prevent the command from appearing.


This is what a selected item looks like:




To deselect it, Ctrl+click on the empty space in the row, or press the spacebar:



Once the selection indicator goes away, the Link to Server command should become available.


On Fri, Aug 8, 2014 at 5:22 AM, Christopher Lebond <lebondis@xxxxxxxxxxx> wrote:
HI Mark, thanks for your swift reply. 

After following and verifying your checks, without any success, I decided to remove all content (Projects and Folders) for one of the users. As soon as the "Orion Content" was empty, File -> New -> Link to Server became an option! The "Link to Server" option has never been previously visible in the file menu, which I assume was because I had added/created content in the default location.

I can now link to server and everything is working as expected. However should I add any folders, files or projects to the local Orion Server Workspace I lose the option to link to server.

Is this working as intended or should I file a bug?

Regards,
Christopher


From: mamacdon@xxxxxxxxx
Date: Thu, 7 Aug 2014 12:44:06 -0400
To: orion-dev@xxxxxxxxxxx
Subject: Re: [orion-dev] Adding allowed file paths in windows


Hi Christopher,

I however am unable to link to nor create/edit files in that directory. In fact I see no reference to that directory at all in the Orion web interface.

Not seeing any indication in the UI is normal -- the allowedPaths property just permits users to link to the given path. It doesn't pre-define any folders in their Orion workspace. They're expected to use File > Link to Server to link in the folders they want to edit.

But since the Link to Server part seems to be failing for you as well, here are some things you should check:
  1. Is your orion.conf file being found by the server? Ensure a message like this appears in the console output:
    2014-08-07 12:21:49.792 [Component Resolve Thread (Bundle 51)] INFO  org.eclipse.orion.server.config - Server configuration file loaded from: orion.conf

  2. Permissions: Ensure that the Windows user account running your Orion server has permission to access C:\Test

  3. Case sensitivity: Ensure that when you use Link to Server, you use the same case as given in your orion.conf. In other words, C:\Test not c:\test.
    Also the server path entered in the Link to Server popup should use single slashes, not double (the \\ escaping is only needed within the orion.conf file.)
If none of this helps, can you open a bug here and let us know what version of Orion (or build stamp) you're running?

Regards,
Mark




On Thu, Aug 7, 2014 at 3:47 AM, Christopher Lebond <lebondis@xxxxxxxxxxx> wrote:
Hi,

I'm having trouble adding allowed file paths to my Orion instance in a windows environment. I'm sure I'm just missing a slight detail.

I have followed http://wiki.eclipse.org/Orion/Server_admin_guide#Configuring_paths_where_users_can_store_files and thus have a Orion Server Configuration File - orion.conf - in the root directory with orion.exe, orion.ini etc. In that file I have placed the path (a test directory for simplicity) I want to be available to users, orion.file.allowedPaths=C:\\Test 

I however am unable to link to nor create/edit files in that directory. In fact I see no reference to that directory at all in the Orion web interface.

Just to confirm I'm not misunderstanding what that setting is for, what I'm aiming to do is offer access to current projects or the ability to create new projects/repos at different file locations.

Any help would be appreciated

Regards,
Christopher

_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev


_______________________________________________ orion-dev mailing list orion-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/orion-dev

_______________________________________________
orion-dev mailing list
orion-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/orion-dev


Back to the top