X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=P7rBg2d507kXlISC5/wCHRcG87Z/w 3aOpKixMgYvR0E1DZ3rySfAM1OR1+yhfdW1Y1BZr0H3NqXEUkcVsSlHuXMFnd1C7 wyXYyBej3RQL5hLMMYXPrGet2FBWU8Etos2npu+Qdj58L3fpC8TtZXUOj46r/hmO bwHS7wAD3Qp3eM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=Yn3Uo0Jo+nqroc5Wm667jp5p/pg=; b=oqx sD+BIAPos6K8VjmAuBJuu93O4wqMhWZ/9i+Iql3KkJtU6yuOK928YjnDdtlm1AxT sAeFbh3au+CoJUmU44sQ3gUdvc+Zu1o4jXjYdROdorUzk7ImuV2mvLSjLQb+qgT7 dl7VDR01fHCw1EhfgL64uTBb/YprvUKRoDAnNunI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_MED,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,TW_MK autolearn=ham version=3.3.1 X-IronPortListener: Outbound_SMTP X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiMFALYtkVGcKEev/2dsb2JhbABagweDc7xxDX0WbQeCHwEBAQMBEhERSgsCAQgNDQIGIAICAh0TFRABAQQbGodkBqFSihCQIoEmjVE4gkIyYQOOG49KinyDD4In From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "cygwin AT cygwin DOT com" Subject: RE: Why mkgroup does not list group members? Date: Mon, 13 May 2013 18:17:26 +0000 Message-ID: <5F8AAC04F9616747BC4CC0E803D5907D0AF7968A@MLBXv04.nih.gov> References: <5F8AAC04F9616747BC4CC0E803D5907D0AF7961F AT MLBXv04 DOT nih DOT gov> <20130513175045 DOT GJ8890 AT calimero DOT vinschen DOT de> <5F8AAC04F9616747BC4CC0E803D5907D0AF7964F AT MLBXv04 DOT nih DOT gov> <20130513180639 DOT GM8890 AT calimero DOT vinschen DOT de> In-Reply-To: <20130513180639.GM8890@calimero.vinschen.de> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id r4DIHvog020372 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