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 21B66E566 for ; Tue, 5 Feb 2013 08:06:20 +0000 (UTC) Received: (qmail 66295 invoked by uid 500); 5 Feb 2013 08:06:18 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 65915 invoked by uid 500); 5 Feb 2013 08:06:17 -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 65800 invoked by uid 99); 5 Feb 2013 08:06:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 08:06:13 +0000 Date: Tue, 5 Feb 2013 08:06:12 +0000 (UTC) From: "Jean-Marc Borer (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (VFS-452) FileObject read/write attributes should reflect underlying FileSystem capabilities MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Jean-Marc Borer created VFS-452: ----------------------------------- Summary: FileObject read/write attributes should reflect underlying FileSystem capabilities Key: VFS-452 URL: https://issues.apache.org/jira/browse/VFS-452 Project: Commons VFS Issue Type: Bug Affects Versions: 2.0 Reporter: Jean-Marc Borer When you do a: FileObject fo = fsManager.resolveFile("http://host:port/somefile.xml"); VFS will create a HTTP FileSystem that has only read capabilities. However, fo.isWritable() returns true where fo.getFileSystem().hasCapability(Capability.WRITE_CONTENT)); return false as expected. This is inconsistent in my opinion and should be fixed or is it intentionally implemented that way? -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira