<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: FTP Home Folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256016#M209146</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can specify the default directory, to be displayed to the user when he logs in through FTP, in file-servers-context.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Search for the bean ftpServerConfig in file-servers-context.xml and put an entry as shown in the example below : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;property name="rootDirectory"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;/Alfresco/Test&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first part of the path should be the file system name, optionally followed by one or more folder names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will navigate the user to the specified folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may want to do the customization in java code to navigate to specific user's home space as per your requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2011 10:27:08 GMT</pubDate>
    <dc:creator>romschn</dc:creator>
    <dc:date>2011-07-12T10:27:08Z</dc:date>
    <item>
      <title>FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256014#M209144</link>
      <description>How to set up system to provide auto login to home folder (eg. Alfresco/User Homes/username/) when users acces Alfresco via FTP?I tried to activate homeFolder in file-servers.xml like bellow, but with no sucess. Users still get in root folder, not in home folder. Alfresco 3.4.a on CentOS 5.5.Thanks!</description>
      <pubDate>Mon, 15 Nov 2010 14:39:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256014#M209144</guid>
      <dc:creator>dsupina</dc:creator>
      <dc:date>2010-11-15T14:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256015#M209145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a similar issue with Alfresco 3.4d.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you find a way to resolve it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 15:48:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256015#M209145</guid>
      <dc:creator>moisei</dc:creator>
      <dc:date>2011-07-11T15:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256016#M209146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can specify the default directory, to be displayed to the user when he logs in through FTP, in file-servers-context.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Search for the bean ftpServerConfig in file-servers-context.xml and put an entry as shown in the example below : &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;property name="rootDirectory"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;/Alfresco/Test&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first part of the path should be the file system name, optionally followed by one or more folder names.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It will navigate the user to the specified folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You may want to do the customization in java code to navigate to specific user's home space as per your requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 10:27:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256016#M209146</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2011-07-12T10:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256017#M209147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks! This worked apparently.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please clarify which java code I supposed to change to make user going directly to home space?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;And how can I configure the permissions, so the user can't browse anything outside of the home space?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 10:41:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256017#M209147</guid>
      <dc:creator>moisei</dc:creator>
      <dc:date>2011-07-12T10:41:41Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256018#M209148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You may need to customize the setRootDirectory() method of FTPConfigBean.java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You will first have to identify how the path to the users home space looks and do the modification in above method accordingly, which will read the initial path till User Home directory (e.g. /Alfresco/User Homes/) from the XML and file and append the user's home directory in above method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think, there is no need to handle permission separately as the user will only be able to see his space using above mechanism. This should work hopefully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 10:55:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256018#M209148</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2011-07-12T10:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256019#M209149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;is there some way to have a variable which refers a current user name?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="rootDirectory"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;/Alfresco/Home Users/${current_user_name}&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, I don't see how it helps to prohibit user from browsing other folders?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For example, once I setup rootDirectory to /Alfresco/Test, the user is still able to cd .. and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;get to the common root folder.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 11:42:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256019#M209149</guid>
      <dc:creator>moisei</dc:creator>
      <dc:date>2011-07-12T11:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256020#M209150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think it would be possible to have a variable you can put in context.xml file. Instead as i mentioned earlier you will have to customize the setRootDirectory method of FTPConfigBean.java.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, you are not required to handle permission at FTP side. You will require it to handle from alfresco side.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By default, all the spaces created under compay home will have read permission for every user as inherit Parent space permission checkbox is checked by default when you create a new space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This checkbox can be found at - go to view detail of space/Under Action secion, click on Manage Space Users.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can go to each space, click on manage space users and uncheck the above checkbox and only invite the uesrs to whom you want to have access to that space.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This way, user can only see/access the spaces he is permitted to.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 06:16:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256020#M209150</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2011-07-13T06:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256021#M209151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Great! I'll review the permissions of the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for a customizing a code of the setRootDirectory method of FTPConfigBean.java,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am just wondering is it a normal practice, to edit the code of alfresco on production platforms?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now, I am installing it from the setup and I don't compile it myself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Once I change the code, I'll have to support it also in the next versions,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;after every upgrade, will I not? Is there some guides on that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Moisei.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 06:32:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256021#M209151</guid>
      <dc:creator>moisei</dc:creator>
      <dc:date>2011-07-13T06:32:19Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256022#M209152</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You do not directly customize the code in alfresco classes.It should be avoided to directly adding our customization in existing alfresco classes. You can extend the required classes and override the required code to put your own behavior.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Alfresco has provided the very good implementation in which you can have your customized code to be part of extensions. All your customized configuration should be part of your extension folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 06:44:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256022#M209152</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2011-07-13T06:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256023#M209153</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't think customizing FTPConfigBean class would help us here. Sorry for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As setting up of FTPConfigBean would be one time activity in which we can specify root directory to refer till "User homes" space. And as per my understanding, this would not get initialized on each user login.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To dynamically add the username part to it, FTPConfigBean doesn't seem right place to me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think, when user logs in through FTP that time after authentication, the root path should be appended with the user name. Will have to identify the correct location to do so.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 07:18:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256023#M209153</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2011-07-13T07:18:46Z</dc:date>
    </item>
    <item>
      <title>Re: FTP Home Folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256024#M209154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good news for you. No customization would be required to achieve this functionality.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We can achieve this by handling appropriate permission for users on spaces in alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to do below things.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Need to specify the root folder path as below :&amp;nbsp; in the file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="rootDirectory"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;value&amp;gt;/Alfresco/User Homes&amp;lt;/value&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. You need to manage the permission on spaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.g. Remove the EVERYONE users from user's own home spaces.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i.e User-1's home space should have only User-1 under manage space users dialog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User-2's home space should have only User-2 under manage space users dialog.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this way, when user-1 logs in through FTP, he will directly be navigated to User Homes folder. Despite of being all the users individual user home spaces are present under this folder, as user-1 has access to only User-1's home space, he can only see his own home space. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2011 08:49:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/ftp-home-folder/m-p/256024#M209154</guid>
      <dc:creator>romschn</dc:creator>
      <dc:date>2011-07-13T08:49:53Z</dc:date>
    </item>
  </channel>
</rss>

