You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Jonathan Eagles (Updated) (JIRA)" <ji...@apache.org> on 2011/11/09 22:13:51 UTC
[jira] [Updated] (HADOOP-7811)
TestUserGroupInformation#testGetServerSideGroups test fails in chroot
[ https://issues.apache.org/jira/browse/HADOOP-7811?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Eagles updated HADOOP-7811:
------------------------------------
Status: Patch Available (was: Open)
> TestUserGroupInformation#testGetServerSideGroups test fails in chroot
> ---------------------------------------------------------------------
>
> Key: HADOOP-7811
> URL: https://issues.apache.org/jira/browse/HADOOP-7811
> Project: Hadoop Common
> Issue Type: Bug
> Components: security, test
> Affects Versions: 0.23.1
> Reporter: Jonathan Eagles
> Assignee: Jonathan Eagles
> Attachments: HADOOP-7811.patch
>
>
> It is common when running in chroot to have root's group vector preserved when running as your self.
> For example
> # Enter chroot
> $ sudo chroot /myroot
> # still root
> $ whoami
> root
> # switch to user preserving root's group vector
> $ sudo -u user -P -s
> # root's groups
> $ groups root
> a b c
> # user's real groups
> $ groups user
> d e f
> # user's effective groups
> $ groups
> a b c d e f
> -------------------------------
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira