Defining different shared file systems
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 08:40 AM
Attempted solution: I edited "file-servers.xml".
Basically, I added the following lines:
<filesystem name="Test">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home/Test</rootPath>
</filesystem>
Where "Test" is indeed the name of a workspace below the company home space.
Outcome: The file system was recognized, but it started showing the space store from the top down, not from the Test subspace. Moreover the standard Alfresco file system was no longer available.
Obviously, I seem to have misunderstood the config file. Could anyone provide a working example? A full example of the <homeFolder name=“Home†/> feature would be appreciated as well. Does it have to be included in a <filesystem> configuration of its own?
Thanks
Ludo
- Labels:
-
Archive

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-16-2006 11:47 AM
You could try using the rootPath value of '/app:company_home/cm:Test' for now but we are looking at adding a new configuration value for the relative path to make it easier to configure.
The home folder config is pretty much just <homeFolder name="Home"/> within the same configuration block as other <filesystem> entries.
When you connect to the CIFS server the user that you connect as is used to create a dynamic filesystem that is visible to your session only and mapped to your own space.
Cheers
Gary

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2006 05:14 AM
I've just added a new filesystem configuration value to allow a relative path to be set :-
<filesystem name="Alfresco"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <relativePath>\Garys space</relativePath> </filesystem>
The path can use either forward or back slashes, and can be multiple levels.Cheers
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 06:06 AM
I've just added a new filesystem configuration value
I presume this will be available in 1.2. Right?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2006 06:13 AM
It's in the 1.2 release and also the nightly builds.
Cheers
Gary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2006 08:39 AM
I gave this feature a new try.
I works, though not as expected.
When I defined two or more filesystems, only the last one appears to work. At least it is the only one that can be "browsed". And when I try to map any of the other filesystems, I'm requested to provide username and password over and over again (on a WXP platform).
This cannot be the expected behaviour, can it?
Regards
Ludo

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2006 11:50 AM
Could you email me your file-servers.xml file.
Thanks
Gary

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 08:45 AM
My file-server is:
<config evaluator="string-compare" condition="Filesystems"> <filesystem name="FS1"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <relativePath>/FS1/Test</relativePath> </filesystem> <filesystem name="FS2"> <store>workspace://SpacesStore</store> <rootPath>/app:company_home</rootPath> <relativePath>/FS2/Test2</relativePath> </filesystem>
Opening CIFS server i saw FS2 with the content of FS1.
Thanks
Andrew

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2006 06:14 AM
This has been fixed in the latest version of the code. This required a change to the XML format to add a top-level <filesystems> block which then contains one or more <filesystem> definitions.
The change was required to allow the file-servers.xml configuration to be overridden using a file-servers-custom.xml in the alfresco/extension folder.
The way the configuration override works was causing only the last filesystem to be defined to be loaded.
Cheers
Gary

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2006 04:38 AM
thanks
andrew
