xadisk
  1. xadisk
  2. XADISK-101

For windows share directory, permission checks done using Java APIs are misleading.

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.2
    • Fix Version/s: None
    • Component/s: filesystem
    • Labels:
      None

      Description

      There is a problem with Windows Share and Java combination, in the File's canRead()/canWrite() APIs.

      These APIs are returning true even if the particular file/directory does not expose that permission. This results in XDisk's permission checks, done during an operation itself, passing even if actual permissions don't exist. When XADisk proceeds to commit the changes, only then the lack of permissions result in exception. The XADisk instance would fail during commit and would make itself unavailable.

      Workaround is to make sure to assign all needed permissions beforehand, when using windows share folders.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated: