DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38122>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38122

           Summary: [vfs] getChildren() faild on missing folder access
                    rights
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VFS
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


On Windows XP I tried to list all files in a folder of another user
but i had no access rights for this folder. So the method
FileObject.getChildren() (commons-vfs-1.0-RC6.jar) returned an empty
FileObject-array (like for an empty folder).
When I used the method java.io.File.list() i got "null" for this
folder (where i had no access rights) and an empty array for an
empty folder (where i had access rights).

So the behavior of java,io.File-list() is ok.
The behavior of FileObject.getChildren() is misleading. It seems
that there is an empty folder (where no empty folder is).

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to