•  
      request #9777 Project FTP Space, private and/or pub
    Infos
    #9777
    Kelly Ferrone (kferrone)
    2016-12-27 20:02
    2016-12-26 20:43
    10051
    Details
    Project FTP Space, private and/or pub

    Our goal is to have a directory for storing files and documents like a cloud drive for each project. In the Tuleap file structure there are two directories of interest for storing project files and documents. 

    1. First there is the directory under "/home/groups/myProject/private"
      1. no one is able to FTP or SFTP into this directory. I was only able to get the root user to have access which does not seem secure. 
      2. How to make this directory accessible to logged in users with read write ability?
    2. Second is the directory under "/var/lib/tuleap/ftp/pub/myProject"
      1. The anonymous FTP space is literally anonymous and public which is not OK for our purposes, we want to store private files and docs only accessible by registered users
      2. Is it possible to make this directory accessible to only logged in users instead of public to the world? This would be the best option. 

    We are using OwnCloud to connect the external drives for Google Drive like access. In the mean time I simply created a directory like so, "/home/groups/myProject/share," and then the following:

    chmod -R codendiadm /home/groups/myProject/share

    With my own Share directory only useable by condendiadm I was able to connect it to Owncloud and share the folder with everyone directly on their own personal computer, awesome! My last question, is my "share" directory under the group safe? Will this confuse or cause any problems with other Tuleap services? 

    Delivery/FTP
    All
    CentOS 6
    • [x] enhancement
    • [x] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar

    Thank you for the advice. We did actually try and install Owncloud onto the same server as Tuleap. Everything almost worked except Owncloud used one PHP version higher than Tuleap. If Tuleap were to upgrade the PHP version, one could install Owncloud alongside Tuleap for some epic integration. Just imagine Tuleap came with Google Drive like abilities with calendars, address books, and an email client. 

    I was imagining Tuleap would somehow auto share the FTP folder of a certain project with all of the users who have access to the project in Tuleap and have access to the Owncloud. Then when someone is added to a project they get the folder in Owncloud too and it syncs straight to their computer. I also imagined if I could get Owncloud installed on Tuleap server I could make each users home directory under "/home/username" the main home directory for each user in Owncloud. 

    In the mean time, "/home/groups/myProject/share" works like a charm as a shared folder in Owncloud. It is also super easy to add the "/home/username" directory to each individual user especially since Owncloud uses LDAP as well and gives the option to log into Tuleap using the logged in credentials of Owncloud. 

    User avatar
    Hello Kelly,

    Thanks for sharing this with us. There is a plugin in Tuleap to do SFTP with permission management. This plugin is called proftpd and it's documented here: http://tuleap-documentation.readthedocs.io/en/latest/user-guide/sftp-browser.html?highlight=proftpd . Maybe it can feet your needs.

    For now, there is no issue to add this specific folder under /home/groups/myProject/ . But if you want/need an integration with external storage services, maybe we can discuss how to do this in Tuleap.