Commit 1d4b6ba
Use os.getgroups() rather than grp.getgrall() to get groups.
Rename also the test to test_chown_gid().
(cherry picked from commit d7c87d9)
Co-authored-by: Victor Stinner <[email protected]>
1 parent 01b2394 commit 1d4b6ba
2 files changed
Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 44 | | |
54 | 45 | | |
55 | 46 | | |
| |||
1238 | 1229 | | |
1239 | 1230 | | |
1240 | 1231 | | |
1241 | | - | |
1242 | | - | |
| 1232 | + | |
| 1233 | + | |
| 1234 | + | |
| 1235 | + | |
| 1236 | + | |
| 1237 | + | |
1243 | 1238 | | |
1244 | 1239 | | |
| 1240 | + | |
1245 | 1241 | | |
1246 | 1242 | | |
1247 | 1243 | | |
| 1244 | + | |
1248 | 1245 | | |
1249 | 1246 | | |
1250 | 1247 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments