Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4311

PutHDFS not honoring umask property

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.0, 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      Typically the hdfs-site.xml has a default umask of 022, which is prohibits write for group and other. So if you create a directory or file using the hadoop command line client, you'll get something like this by default:

      drwxr-xr-x   - bbende hdfs    /test/foo
      

      Now if you used PutHDFS and set the umask to 002, you would expect to prohibit write only for other and get rwxrwxr-x but you still get the same permissions as above from the default umask.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bbende Bryan Bende
                Reporter:
                bbende Bryan Bende
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: