Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9778

Support configurable user name and group name validation patterns in chown and chgrp shell commands.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.3.0, 3.0.0-alpha1
    • None
    • fs
    • None

    Description

      The chown and chgrp shell commands enforce a valid set of characters for user names and group names. The validation rules for user names and group names vary across different OSes, so this is a portability problem and a maintenance burden. It requires us to change the code every time we discover a difference in the rules. I propose that we remove this validation logic and instead pass through input user names and group names to the OS. We can handle error reporting by catching errors returned from the OS.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cnauroth Chris Nauroth
              Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: