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:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=Y3q eJSF+pNH+AeXstlPLxznVQ4PmvNB8DPt3wgIGbm7iC7XYJ8TtL5bXKIPsa6pzRtC MHz7DBsOsWI5pCoku/ZwDtl4a7nnvkKmNeGf3YGLNFVR6pbqTJixY976hE6RUAHE wNO8IMqYs3rnwk3RViC7V5ytFpnMViNg1gbs3f4A= 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:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=1oj/G7B8h xceD/ZA4B41b8ivMn0=; b=P6XRUwDRSK/6CYHV2YMIJnAWZK7gVgcqMWvs36LXJ bJb1xtbtD0rONtfuLbruRnfoTAsR7Sc2bQFzAWRAKbJU9fDKIvkmhztSXeNnwTaF 7v+nbVLpklpfsx5fif5U1jIPEg7YBKMZTB8t9wkwn3WQ84GOzurQLU0PwScWHEL1 lE= 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mgw-da01.nokia.com Message-ID: <54A29F05.1020703@nokia.com> Date: Tue, 30 Dec 2014 14:48:05 +0200 From: Ilya Dogolazky User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Possibly wrong Admin group ID in cygwin 1.7.34-003 (x64) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Nokia-AV: Clean X-IsSubscribed: yes Hello ! While trying to install and run SSH daemon in cygwin I found the following strange behavior of cygwin's ID command (I did all my testing on a Windows 8 system freshly installed on a virgin virtual machine from the DVD image en_windows_8_enterprise_x64_dvd_917522.iso downloaded from MSDN). When I execute the command "id -G" first in a usual cygwin terminal window and then in a terminal window opened by "right click -> Run as administrator", the expected output is the same with the only difference: the "admin" output must have additional groups 0 and 544. That is exactly the case if I use cygwin package 1.7.33-1: Plain window: 197121 545 197610 Admin window: 197121 0 544 545 197610 But if I use the testing cygwin package 1.7.34-003 (available in the installer by clicking on cygwin package), then the group 544 doesn't appear anymore: Plain window: 197121 197610 545 4 66049 11 15 4095 66048 262154 401408 Admin window: 197121 197610 0 545 4 66049 11 15 4095 66048 262154 405504 Now I don't know if it's a bug, but some scripts assume that an admin shell can be identified by the number 544 in the output of "id -G", so I'm sure something is very wrong here. Screenshots are available there: http://picpaste.com/win8-cygwin-1.7.33-1.png http://picpaste.com/win8-cygwin-1.7.34-003.png In both cases the first terminal is the "plain" one and the second is the "admin" one. You have to click on the pictures in order to make the text readable. Happy new year to everyone! Ilya Dogolazky -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple