set group and supplementary groups before chroot
Merge pull request #1198 from mind04/suppgroups

set group and supplementary groups before chroot