Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-27

[vfs] getChildren() faild on missing folder access rights

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      38122

      Description

      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).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              huber.anton@hotmail.com Huber Anton
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: