Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix testing belonging to the audio group
cuserid() is limited to L_cuserid characters, which is 9. This means that users with a longer login were never seen as belonging to the group. Let us just replace with using getgroups, which allows - to actually check the current allowed groups, - to compare gids, which don't pose length limitations. Fixes #4
- Loading branch information