Lines Matching defs:group
53 const struct group *group;
93 /* group would have had enough permissions,
94 but we don't belong to the group */
95 str_printfa(errmsg, ", we're not in group %s",
97 group = getgrgid(st.st_gid);
98 if (group != NULL)
99 str_printfa(errmsg, "(%s)", group->gr_name);
156 struct group group;
191 switch (i_getgrgid(getegid(), &group)) {
199 gr_name = t_strdup(group.gr_name);
265 if (i_getgrgid(st.st_gid, &group) > 0 &&
266 strcmp(group.gr_name, gr_name) == 0) {
290 const struct group *group;
295 str_printfa(errmsg, "%s(%s, group=%s", func, path, dec2str(gid));
296 group = getgrgid(gid);
297 if (group != NULL)
298 str_printfa(errmsg, "(%s)", group->gr_name);
302 group = getgrgid(getegid());
303 if (group != NULL)
304 str_printfa(errmsg, "(%s)", group->gr_name);
306 str_printfa(errmsg, ", group based on %s", gid_origin);