delorie.com/archives/browse.cgi | search |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=yooVp3Vz7oBZ3yGj | |
PHPs5d2Oz2q97KF4boFSS0f+bsSC8LpkCWBCfsfYXI9gXfer0Yv2yX3RI0TxKucz | |
Tr5xAd7qpJQ2zqS5KqG/xtaQp9P/sR2z6vNXzcWgnOc6w7BBAHHgEUlVfmdl7I12 | |
jxYH5PUwtbsASHNySTjB2hF6VKc= | |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=gEgsqhoMViB+cOvtgE+yhZ | |
tQA8w=; b=n07AdI/0qfPjMB/tSP9NgizoDUDqg4vqt4WeerEGOqwrtXmzhGvFla | |
nUdPwpTC9etgN4yJrz0Ymg1pDqY9zWPXPc1Faz0ZEyZZhrwOf0qjSKEUZwz6uam8 | |
+rGzSxRGIEKFS7tGR4MefpcHvh6q6fWYJr+KMCEPhgVmXPYGeF4o8= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Rainer, blome, Blome, 28012016 |
X-HELO: | mout.gmx.net |
Subject: | Re: chmod failed: Invalid argument |
To: | cygwin AT cygwin DOT com |
References: | <trinity-f5aca8d9-16f5-41e1-a521-60beada36d8e-1453991058087 AT 3capp-gmx-bs39> <20160128144429 DOT GC27369 AT calimero DOT vinschen DOT de> <trinity-1207f321-8a47-46bf-99f9-9c2eb5b08d91-1453997213459 AT 3capp-gmx-bs39> <20160128172256 DOT GB18626 AT calimero DOT vinschen DOT de> <trinity-7ee91fc7-9323-4efa-bbe7-b3420e77c824-1454006627384 AT 3capp-gmx-bs39> <20160128204021 DOT GA7055 AT calimero DOT vinschen DOT de> <56AE6D83 DOT 9070201 AT gmx DOT de> <20160208142930 DOT GF12975 AT calimero DOT vinschen DOT de> |
From: | Rainer Blome <rainer DOT blome AT gmx DOT de> |
X-Enigmail-Draft-Status: | N1110 |
Message-ID: | <56BB1813.9050102@gmx.de> |
Date: | Wed, 10 Feb 2016 11:59:31 +0100 |
MIME-Version: | 1.0 |
In-Reply-To: | <20160208142930.GF12975@calimero.vinschen.de> |
X-UI-Out-Filterresults: | notjunk:1;V01:K0:uaoPNVAq0yA=:beBBukwWKq0d8M+OKAJVED mt/3iinK2Q4rxW3FnBFryHOjONotm8rRW0CCG+ZZHaMe3BCJoawPyyBforN49ViORhWzoKIGM fHCSxYiGCayMcC/+SuJfF23pyplFkrRNyEh7m8Skj0384z1f2XMMVTMWRLDGFs4lzJdlHM8Zp vKyK9kT0+agKHTJoBdp4Gs4OHfZMYRAdXAq4S7Zm5AnXE0Rt19k2M1xack18/3CBsgzosZgzb iX0u7rPqFhLoI7/Y2dOKE0s9N2zzKyczjI83FcjhFM59/LLMhDfCjL70lmy1gVjiYY4qC4UJ2 y6XHW/O8EXuAJ3GuHDuDQVdLPABtMN5V43hb8zYVaZzf86ICAExIkXdlTMpLKDCFQG1Mmz/2A gNGYMZqZN1eiHA/amBWBnDgcHk4f2Tu0THtKUTUnrD3YX8pN9nFyKjVuvU7eJzQXAvvlD5Wp6 ASScLSDZIdy1dZ9xE4PFA6HlXNW6mczh/zEYFoem47wrFcKFBi6/0Q7r42lHAjJ41RNgd4tfw JPAcBCVmPv84Kdmef4331Yerz0+0nehgOIEuulcyqTBt5YrXvgwPd2lQOKFabeATN2WBiqGnr cZoxKMS2dZji21vcJbN3bqeiU8s85R9LNS8ncl7x15chgKysy+iO9AA8/cv8AP+zZ7TSeX6/o YMKe3VFpNi07d6yuPxL6A6KRiAJXB0Yv7/VKjOoo65eQTtswErQiNPpJXMYP+KjWHQLt/enao E0b1Pix389PvUWWuWoao2fKYV4OETFWETxvKjt24fNDiq8qIvtAMxP6cnUec27nS/UgdTzgJu ycNpRhj |
X-IsSubscribed: | yes |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 08.02.2016 15:29, Corinna Vinschen wrote: > On Jan 31 21:24, Rainer Blome wrote: >> On 28.01.2016 21:40, Corinna Vinschen wrote: >>>>> On a hunch, do you have old /etc/passwd and /etc/group >>>>> files >>>> There is no `/etc/group`, but `/etc/passwd` defines the >>>> group ID of my user as 513 >> On a Cygwin 2.3.1 on a different machine, `/etc/passwd` also has >> 513 in the group column of all users. Yet, when I ask for `id`, >> I get something like this (translated): >> >> uid=197609(username) gid=197121(None) \ >> Groups=197121(None),545(Users),... > > These values make sense. Please enlighten me. To me it looks as if cygwin or at least mkpasswd formerly used 513 as the gid for "None", and switched to 197121 at some point. I currently do not understand this: Before I changed gid of my user from 513 to 197121 in /etc/passwd, ls printed 513 as the group of files in the home directory. After the change, ls prints "None" as the group. But 197121 is the id of None. At first sight, this looks like the file group ownership has changed from 513 to 197121, but I do not see why that should have happened. >> No doubt. So what kind of maintenance do these files need? Should >> I have known that they do? > > They should match. For instance, one problem is if your passwd > entry contains a gid not available in either the Windows user DB > or /etc/group. Does this mean that if /etc/passwd exists, /etc/group must also exist (and match)? Or that, if /etc/passwd gives a currently-non-canonical gid such as 513, /etc/group must exist and define that gid? Regards, Rainer -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJWuxgTAAoJEI/iM7d3pEsvXnEQAMv8VT5Frv9uvVt7kMuu1SA/ G5K0AnuzS3XCZIZzVgOHls+6XrbOLXVLi6BCf7i2bFm9tBhsT7/U+X4/hfMTMUuz OsefO6EHmGr+c8jEzm9y2OpU10zf+rsOqgFMD7qnUoJ2kbpUNY+dGKnUOYsQmnZ/ gdUlufQTpAoMsNiEsTlseaiXdGiSS6pCNu7W0HrIn7TI8uPCAxA7zqi5S53a3zpQ 4x7E4+0QS3KxLT5C20RWRhGEx/+efUAWH/G/UJNEdZJ+hc5eG4Abz4Bh7wx0ITuJ FabuktphYS1RuRxEPJgNpLdUtCervWzNe223aHdcHR+lJygPCcKHBII6h1kU6tiK vjpvG5wyDvWFewBoAqD3uWwYwo+tMaRMj3rSMXApRcO5IHDgid54Bi7ETwxurfO0 0cMHKuRNsGTO1BZXfZJZBChKRkDDYoF165TvMMMYTop2hUwcGJVl06s48dRnNfc9 h5tgqB3IKBgDb2I1D6GK/yjkMNIH5x9J9Z51qXKFhWs2erosndLy2K0MUk8i23Je YqYbucBZ+6ynoRKUfUzjtJNL062ZxfBoQHpPJ9PJHJQluagFdkkeBsbxZhdrtYnj 6PNWqTTYWGm+V8Un+LwSqEr1rPDcMtPBkWTxSnjdnBL3iSd85FgXaVrcM+Lc2ptp Ud3/WslWQqlC69NdFiRK =kX/M -----END PGP SIGNATURE----- -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |