<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/chroot, branch next</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=next</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=next'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2009-07-04T08:47:56Z</updated>
<entry>
<title>tests: use the "nobody" user's group as the default group id</title>
<updated>2009-07-04T08:47:56Z</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>gscrivano@gnu.org</email>
</author>
<published>2009-07-04T08:14:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=42cd6653b06e63fc36ef3f105fd37de036012e05'/>
<id>urn:sha1:42cd6653b06e63fc36ef3f105fd37de036012e05</id>
<content type='text'>
* tests/chroot/credentials: Use the group id, not its name.
* tests/test-lib.sh (NON_ROOT_GROUP): Use the "nobody" user's group in
place of "nogroup".
</content>
</entry>
<entry>
<title>chroot: make --groups= work without --userspec=;  be more robust</title>
<updated>2009-06-02T14:34:54Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-05-29T06:44:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=b96cd035ffe636f95cffc4beb7c043c62a687045'/>
<id>urn:sha1:b96cd035ffe636f95cffc4beb7c043c62a687045</id>
<content type='text'>
* src/chroot.c (set_additional_groups): Add comments.
Given an empty or all-comma group list, diagnose it and return nonzero.
When more than one group is invalid, diagnose all of them,
not just the first.
(main): Honor --groups= also when --userspec= is not specified.
Now that set_additional_groups consistently diagnoses its failures,
don't diagnose it separately here.
* tests/chroot/credentials: Do not invoke with an empty group list.
</content>
</entry>
<entry>
<title>chroot: don't set bogus user-ID or group-ID for --u=U: or --u=:G</title>
<updated>2009-06-02T14:34:53Z</updated>
<author>
<name>Jim Meyering</name>
<email>meyering@redhat.com</email>
</author>
<published>2009-05-27T21:06:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2e62250e987dfb2e6253f512ef52707edc626719'/>
<id>urn:sha1:2e62250e987dfb2e6253f512ef52707edc626719</id>
<content type='text'>
* src/chroot.c (main): Initialize both "uid" and "gid".  To -1.
This also allows one to set the user-ID or primary group-ID to 0,
in case it's not that already.
* tests/chroot/credentials: Test for the above.
</content>
</entry>
<entry>
<title>chroot: accept new options --userspec=U:G and --groups=G1,G2,G3</title>
<updated>2009-05-26T13:10:22Z</updated>
<author>
<name>Giuseppe Scrivano</name>
<email>gscrivano@gnu.org</email>
</author>
<published>2009-05-01T21:50:11Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=c45c51fe97193898f3909dcf5e4c0e117ab239a2'/>
<id>urn:sha1:c45c51fe97193898f3909dcf5e4c0e117ab239a2</id>
<content type='text'>
* NEWS: Note chroot's new options.
* doc/coreutils.texi: Document them.
* src/chroot.c (main): Add support for --userspec and --groups.
* tests/Makefile.am (root-tests): Add chroot/credentials.
* tests/chroot/credentials: New file.
* tests/test-lib.sh: Define NON_ROOT_GROUP to a default value.
</content>
</entry>
</feed>
