cancel
Showing results for 
Search instead for 
Did you mean: 

Root Path config for CIFS and Share Sites

cesarista
World-Class Innovator
World-Class Innovator
Hi:

There exists many ways of configuring rootPaths for webdav, cifs and share access in via alfresco-global.properties in Alfresco 4.x

protocols.rootPath=/app:company_home/cm:Zylk
system.webdav.rootPath=/app:company_home

I would like to map CIFS network drives to share sites (i.e: app:sites ) but only for the corresponding documentlibrary folders of the site. I don't want that a final user could see other data such as wiki, blogs structure under the site.

¿ Is it possible ?

Regards and thanks in advance.

–C.
2 REPLIES 2

gmce
Confirmed Champ
Confirmed Champ
If you use only one site you can modify the protocols.rootPath to protocols.rootPath=/${spaces.company_home.childname}/${spaces.sites.childname}/cmSmiley Frustrateditename/cm:documentLibrary
where Sitename is your main site name (i suppose Zylk).

This way you can map the network drive using net use Q: \\servername\alfresco\   and you will see only the content of your site's documentlibrary.
BTW if users browse the network, instead of using mapped drive, they can still reach wiki and ohter stuff folders.

If you use several sites and want to map more than 1 document library remove /cmSmiley Frustrateditename/cm:documentLibrary from protocols.rootpath and map drive to deeper folders like:

net use Q: \\servername\alfresco\site1name\documentLibrary
net use W: \\servername\alfresco\site2name\documentLibrary
net use Y: \\servername\alfresco\site3name\documentLibrary
net use Z: \\servername\alfresco\site4name\documentLibrary

Cheers.

cesarista
World-Class Innovator
World-Class Innovator
Thanks for the answer (sorry, I was logged out for a long time). It can work in that aprox.
The problem for me is slightly different, each user can have many sites, over 30 different sites (for example).

–C.