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

TestUserGroupInformation#testGetServerSideGroups test fails in chroot

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.1
    • 0.23.1
    • security, test
    • None
    • Reviewed

    Description

      It is common when running in chroot to have root's group vector preserved when running as your self.

      For example

      1. Enter chroot
        $ sudo chroot /myroot
      1. still root
        $ whoami
        root
      1. switch to user preserving root's group vector
        $ sudo -u user -P -s
      1. root's groups
        $ groups root
        a b c
      1. user's real groups
        $ groups user
        d e f
      1. user's effective groups
        $ groups
        a b c d e f
        -------------------------------

      Attachments

        1. HADOOP-7811.patch
          0.9 kB
          Jonathan Turner Eagles

        Activity

          People

            jeagles Jonathan Turner Eagles
            jeagles Jonathan Turner Eagles
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: