Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D6C5A993D for ; Thu, 13 Oct 2011 17:11:35 +0000 (UTC) Received: (qmail 16883 invoked by uid 500); 13 Oct 2011 17:11:35 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 16822 invoked by uid 500); 13 Oct 2011 17:11:35 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 16813 invoked by uid 99); 13 Oct 2011 17:11:35 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 17:11:35 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Oct 2011 17:11:33 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 09AB8306CB4 for ; Thu, 13 Oct 2011 17:11:12 +0000 (UTC) Date: Thu, 13 Oct 2011 17:11:12 +0000 (UTC) From: "Brendan Long (Created) (JIRA)" To: issues@commons.apache.org Message-ID: <1887094468.9935.1318525872040.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (VFS-368) SFTP documentation implies that "userDirIsRoot" defaults to true (but it defaults to false) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org SFTP documentation implies that "userDirIsRoot" defaults to true (but it defaults to false) ------------------------------------------------------------------------------------------- Key: VFS-368 URL: https://issues.apache.org/jira/browse/VFS-368 Project: Commons VFS Issue Type: Bug Reporter: Brendan Long Priority: Minor On this documentation page: http://commons.apache.org/vfs/filesystems.html#SFTP It says: SFTP Provides access to the files on an SFTP server (that is, an SSH or SCP server). URI Format sftp://[ username[: password]@] hostname[: port][ absolute-path] Examples sftp://myusername:mypassword@somehost/pub/downloads/somefile.tgz The default is actually that the path is relative from the user's home directory. This can be changed by running: SftpFileSystemConfigBuilder .getInstance() .setUserDirIsRoot(options, false); I suggest changing the documentation to say [ relative-path ] and adding a note about absolute paths (but I'm not sure how to make it fit the style of this page). -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira