xadisk
  1. xadisk
  2. XADISK-99

InsufficientPermissionOnFileException is thrown even for cases when an ancestor directory does not exist.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2
    • Fix Version/s: 1.2.1
    • Component/s: filesystem
    • Labels:
      None

      Description

      Thanks to Kane and Kannan for helping identify this issue by the following discussion threads, respectively: http://groups.google.com/group/xadisk/browse_thread/thread/4814f98275b526ec
      http://groups.google.com/group/xadisk/browse_thread/thread/b1bcd0194d15814

      For operations which require a directory (and its ancestor directories) to exist, if any of these directories do not exist, an exception of type "InsufficientPermissionOnFileException" is thrown mentioning that a READ/WRITE permission is not available on that directory.

      It will be better to use a more relevant exception type, say FileNotExistsException.

        Activity

        Hide
        Nitin Verma added a comment -

        Checked-in the changes to trunk.

        Show
        Nitin Verma added a comment - Checked-in the changes to trunk.

          People

          • Assignee:
            Nitin Verma
            Reporter:
            Nitin Verma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: