From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 89024 invoked by alias); 23 May 2018 19:44:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 89008 invoked by uid 89); 23 May 2018 19:44:22 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=kein, percentage, 8:ha, 8:gs X-HELO: mout.kundenserver.de Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (217.72.192.73) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 23 May 2018 19:44:21 +0000 Received: from [192.168.0.15] ([149.172.203.221]) by mrelayeu.kundenserver.de (mreue102 [212.227.15.145]) with ESMTPSA (Nemesis) id 0M3jhh-1gBtHk0133-00rKOF; Wed, 23 May 2018 21:44:17 +0200 To: cygwin@cygwin.com From: Stefan Baur Subject: Numeric group IDs for system groups Openpgp: preference=signencrypt Autocrypt: addr=X2Go-ML-1@baur-itcs.de; prefer-encrypt=mutual; keydata= xsBNBFLfOiwBCACzIiDVwWVRvuMzgSAvXRFRaPaZOSB8s84PG1oGLfmqhwzF44vj1Xv4tcKD mvu0TsLTksOkvop8WwGYeeU8lDaxEG1zyN8SOu1WU/FPEKw2jITRox8yIrSkUsMkWYuxdjv/ 9XcAh9qaPsHP7E1jD6/wVZuYZkuX6W41Nxt06VsvDGCfrbQh4ya7w1IiSnoQeIHNNQVN9f3j xcHLj5S5YriSCThtbFCdr3AJXfF5iMolu8kLgAXM0bH1C7PxAjM/pQjWmdMVN/Y+uXXzcMO8 8aQ0f0q3QeGWxCAP2xwBapUfP6LHDRPp/tV7P7ji8wKlabrSGdv0M9Qd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3p85vXR1oqquHmAaMls67a3uCkTHUW 8+ilwfXleF8+9AOLV1Ys5ue1d8kh3+2VM7tE9f0wt2N8akFTBXJg/gIKH2YCc8xoOxhl0bv3 +If4QjOPBUxb6+ge5IThHtVWI5K5Wr9ORnjcS00v2P7Zf02R5FTEq8nCFr+CeAOin8WlTtWs bzi9QGo4aIv+5+HKkfVEC34= Message-ID: <9aea99de-91ae-7d1e-5633-bfc551af4e81@baur-itcs.de> Date: Wed, 23 May 2018 20:05:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-UI-Out-Filterresults: notjunk:1;V01:K0:EoVH5UizAOM=:sC+4Kg5Z98sOBeZSls6+8p IDGL6ZO4/JlpvtMHeP3WjbhVb9R0hgDVRu/L8MlNgCU7AR8ozBcUdGMGFEiQXr3qhAw584ra8 cDk08yK+a/pvYZFQ3PJCWHHUzvkxweZ9cTOtsXgfKIksokLR6EDCoot0ZwbKkmHHQ4ckiGcBA bslAZCh9rKpP22O6FEalp9j2fFP1SkpRg44XWyKlu0QeJMsJTsA12CT34t8D206qIkSz6Mn5q NbEntvi6XIDPB8gNpIbdehCslMwKYUUmZL0Gtx9j836VbPhwkj1SOmUUFPJx3DYa1FMhdQ61p 89EXGSJPVWdIJ1NU5avrsWdyky7zBhLcR31IQDkK7O+yi12j+ykvZ3ohQVuNOBB1YdUh/KRht 3m7o698gKcp9ANOLOd38MXI34oa0YyndH/LxdicUI/R2JW1qZj+lJcKqrbGRYpKuG3xy/fRqL SJGK7DpyMYyztsU7uDtdR00eOFcx8Ww4qj70VRBauyNFe1lUVacIg1rm34BYYZcCeGrUWahKG 1ORDDefryURKqBOhcbPFD1JFImwmY6vCLakl7uE0nQdviF5ammalyyP4SztTTMYaZB3u6QsTU Pn3cN8LLk/um07mZDYsjw3YxPHPs6UR0iaCwm0TOmnSxJc3/SuLU6K85/NKIa/lBmxyKlpoLC 4vNj0+/o2EA0CJABdwsp7BNAannNXAHRC+EMJceLFhLK0EO3b+vGfDNe34uvmTR7sWLBRzODx /qOp5IUXrrgybQnh X-IsSubscribed: yes X-SW-Source: 2018-05/txt/msg00273.txt.bz2 Hi List, I am the community manager of X2Go, an open-source remote desktop and remote application solution for Linux servers. While our server component only runs on Linux, our client software is available for macOS and Windows as well. The Windows version of X2GoClient relies on some executables available through Cygwin. On Windows 10, we are encountering the issue mentioned here in the FAQ: Especially, we're getting hit by the fact that Microsoft has changed the default group for %USERPROFILE% (and all files and directories created in it) from "None" to . This is why the second-to-last suggestion in that FAQ item doesn't help: chgrp `id -g` ~/.ssh/* will simply set the default group to the value it already has, and that doesn't fix the issue. The last suggestion in that FAQ item suggests using chgrp None ~/.ssh/* but also notes that the group name will vary depending on the operating system language. chgrp does work with numeric group identifiers, and it seems the "None" group always gets the numeric id 197121 - so chgrp 197121 ~/.ssh/* would fix the issue regardless of the operating system language. (In our case, it would be chgrp 197121 %USERPROFILE%/.x2go/etc/ssh_host_key* because it actually affects the host keys of an sshd running on the Windows side, which we need for file sharing via sshfs, but you get the idea.) Can anyone with authority on the issue confirm that 197121 always corresponds to the "None" group (whatever it may be called due to the language setting - in German, it is "Kein", for example)? Or is this a faulty assumption and merely coincidence that we got that result on the handful of machines we used for testing? I'm seriously hoping this id is always the same, similar to the well-known SIDs in Windows, but would really like a confirmation from someone knowledgeable before we make the corresponding change in our code and hose a large percentage of our users' systems once they deploy the update. In case it is of relevance, we are calling the executables (ssh-keygen, sshd, and now chgrp and possibly setfacl as well) directly from a native Windows application written in Qt and C++, not from a Cygwin bash window or similar. In fact, there is no cygwin installation, it's just the required executables and dlls residing in our own installation directory. I can provide more detail or get you in contact with one of our developers, if needed. Kind Regards, Stefan Baur -- BAUR-ITCS UG (haftungsbeschränkt) Geschäftsführer: Stefan Baur Eichenäckerweg 10, 89081 Ulm | Registergericht Ulm, HRB 724364 Fon/Fax 0731 40 34 66-36/-35 | USt-IdNr.: DE268653243 -- 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