cancel
Showing results for 
Search instead for 
Did you mean: 

FTP client login not showing folders

himvj
Champ in-the-making
Champ in-the-making
Hi,

I am unable to see folders through ftp using client login in alfresco.it is showing me only two folders Alfresco and AVM.

but when i am logging in as admin means user name as admin and password as admin through ftp client,it is showing me all the folders.

I want to see only those folders which are created inside that particular user space only.

Regards
Himvj
12 REPLIES 12

mitpatoliya
Star Collaborator
Star Collaborator
You need to explicitly change the permissions on the Companyhome space so that none of the new user could see that.
Just uncheck the inherit parent space permission check box and you should be fine.
Same with AVM

himvj
Champ in-the-making
Champ in-the-making
Hi mitpatoliya,

thanks for the reply but it is not solving my query.

i am unable to see the the user folder suppose i have created one user inside alfresco named as "abc" and inside that user space i have created one folder.

Now if i login to ftp using "abc" as username it is not displaying me the folder i have created for that user, but is showing only alfresco folder and AVM folder.


Regards
Himvj

mitpatoliya
Star Collaborator
Star Collaborator
checkout file file-servers.xml
inside that config entry
   <config evaluator="string-compare" condition="Filesystems">
change rootpath to userhome space.

mrogers
Star Contributor
Star Contributor
The "Alfresco" and "AVM" folder are the file-system roots.   (The default configuration mounts two filesystems.)

You can configure how each filesystem is mapped into the repo.

himvj
Champ in-the-making
Champ in-the-making
hi mitpatoliya,

I have changed the root path to User Homes but still no success.

my changes files copy code is


<config evaluator="string-compare" condition="Filesystems">
      <filesystems>
         
         <!– Alfresco repository access shared filesystem –>
         <filesystem name="${filesystem.name}">
            <store>workspace://SpacesStore</store>
            <rootPath>/app:user_homes</rootPath>

            <!– Add a URL file to each folder that links back to the web client –>
            <urlFile>
               <filename>__Alfresco.url</filename>
               <webpath>http://${localname}:8080/alfresco/</webpath>
            </urlFile>

            <!– Mark locked files as offline –>
            <offlineFiles/>


it is still showing the files for admin only. for other users it is showing alfresco and avm folder.


Regards
Himvj

himvj
Champ in-the-making
Champ in-the-making
The "Alfresco" and "AVM" folder are the file-system roots.   (The default configuration mounts two filesystems.)

You can configure how each filesystem is mapped into the repo.



hi mrogers ,

i tried to change the mount point to user homes but still the files are not showing for other user through ftp.

Regards
Himvj

mitpatoliya
Star Collaborator
Star Collaborator
try this as  root path app:company_home/app:user_homes

himvj
Champ in-the-making
Champ in-the-making
hi mitpatoliya,

i have made the changes as you suggested.

<config evaluator="string-compare" condition="Filesystems">
      <filesystems>
         
         <!– Alfresco repository access shared filesystem –>
         <filesystem name="${filesystem.name}">
            <store>workspace://SpacesStore</store>
            <rootPath>/app:company_home/app:user_homes</rootPath>


but still not able to see the folder for the user.

i am unable to see the the user folder suppose i have created one user inside alfresco named as "abc" and inside that user space i have created one content.

Now if i login to ftp using "abc" as username it is not displaying me the content i have created for that user, but is showing only alfresco folder and AVM folder. In that alfresco folder is blank.

mrogers
Star Contributor
Star Contributor
Can your user abc read the User homes folder.