Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-14552 Über-jira: WASB client phase II: performance and testing
  3. HADOOP-14935

Azure: POSIX permissions are taking effect in access() method even when authorization is enabled

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.9.0
    • 2.9.0, 3.1.0
    • fs/azure
    • None

    Description

      FileSystem implementation class for azure i.e. NativeAzureFileSystem does not override access(path,mode) method and uses the default implementation from the base class. This base implementaion uses the POSIX permissions to check if the requested user has access to given path or not even when authorization is enabled, which is incorrect.
      NativeAzureFileSystem.access() in authorization enabled mode should use the authorization mechanism provided instead of relying on the POSIX permission ons. So the proposal is to override FileSystem.access() method in NativeAzureFileSystem such that it honors the authorization mechanism configured in authorization enabled mode and falls back to POSIX permissions otherwise.

      Attachments

        1. HADOOP-14935.1.patch
          9 kB
          Santhosh G Nayak
        2. HADOOP-14935.2.patch
          36 kB
          Santhosh G Nayak
        3. HADOOP-14935-003.patch
          36 kB
          Steve Loughran
        4. HADOOP-14935-004.patch
          42 kB
          Santhosh G Nayak
        5. HADOOP-14935-005.patch
          31 kB
          Steve Loughran

        Activity

          People

            snayak Santhosh G Nayak
            snayak Santhosh G Nayak
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: