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

FileSystemConnector exposes child nodes that might not be accessible

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: