ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45081] New: <available> condition doesn' t pay attention to whether a file is readable.
Date Tue, 27 May 2008 15:59:33 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45081

           Summary: <available> condition doesn't pay attention to whether a
                    file is readable.
           Product: Ant
           Version: 1.7.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: kascice@mail.nih.gov


If a file is visible in the filesystem but there is no authorization to
actually
read the file, available still returns true.

My opinion on this is.... the <available> condition should either check whether
the file is actually readable or else document explicitly that is doesn't check
this and there should be an additional condition for checking whether the file
is readable.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Mime
View raw message