This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Why mkgroup does not list group members?


I may have put it a bit incorrectly,

> In that case, your expectations of the getgrXXX functions are wrong.

but I don't think so.  I am looking if a user belongs to a group,
either as their primary or secondary one.  So when using getgrXXX()
I check to see if a user (whose primary, passwd-supplied, gid does not
match the gid of the group) is listed as a member.  In CYGWIN that does
not work because the information is missing from the group file.

Anton Lavrentiev
Contractor NIH/NLM/NCBI


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]