Uploaded image for project: 'Apache Guacamole - Contributions'
  1. Apache Guacamole - Contributions
  2. GUAC-1352

Allow SFTP root directory to be configured

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: RDP, SSH, VNC
    • Labels:
    • Sprint:
      DEV 2017-07-01
    • Story Points:
      5

      Description

      Guacamole currently assumes that the root directory of the SFTP server is "/", and that this directory will be readable. In practice, this is not guaranteed to be the case. In addition to variation in file permissions, SFTP servers may not actually have a directory at "/". Though the standard requires that absolute paths begin with a "/" (and that the path separator is "/"), it does not require that "/" be a real directory nor that it be readable.

      In the case of a platform which lacks a root directory entirely (such as Windows or certain routers), this means that you end up with legitimate paths like "/C:/some/directory/" even though "/" does not exist and thus cannot be listed.

      For the sake of supporting such platforms, and for the case where SFTP access should be restricted to a specific directory and its subdirectories, the root directory should be configurable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mike.jumper Michael Jumper
                Reporter:
                Cjackson Christopher Jackson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: