Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1768

FileSystemConnector exposes child nodes that might not be accessible

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.1.1.Final, 3.2.0.Final
    • 3.1.0.Final
    • Storage
    • None

      The new FileSystemConnector is always adding child node references for all java.io.File objects returned from parentDir.listFiles(...). This is not correct; we should check whether the resulting File objects actually exist and are readable (e.g., no permission to read).

      Note that in the case of a broken symlink (see MODE-1482), a File object will be returned from the listFiles(...) method but will not exist.

              rhauch Randall Hauch (Inactive)
              rhauch Randall Hauch (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: