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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
q=dns; s=default; b=xjeY03irlr4Ult63Io3D1rc1QgzxesFsDL23VEbl5iP | |
lYvZX99QV5Ly/M/VSJE0u55A31G68nAhQbOodSVTHa9rG3RQ2tyQ4P1u3cC1H6t9 | |
POz885WadAkfWjomgw5lDjbh5+0rezx4JkGtdd2MjvRRdMH1sZFYaDl5g1eG+B8k | |
= | |
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 | |
:references:in-reply-to:content-type:content-transfer-encoding; | |
s=default; bh=YMvl5YP8+FyuMwCHWMWUjjfJQC8=; b=kFbMLNmZYKFtNbvWM | |
7fhhoW3uoyw2V63AWnjhXaI0WOJOGvVpoeYz/MjLewAJeov/SJI9P3PrgJ3EHray | |
RGxRDUfvgoI9gHiwJCw64Uj3Zd7SDu7DpyuEdzYsBFjedqcjxHZc/B7z3MJalWQq | |
+eK3yn/at7Liv6jz629f9mmlPQ= | |
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=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 |
X-HELO: | mail-ig0-f170.google.com |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KbbGB1qvKz8/IpM05DslOucBDoBjVG5jJurHq9VQsTE=; b=J9sAn6ps5Vu4ptQli1T6Et20vKQaoV+JSZFeCt1sAouAeU8govA7O6S7DBollaKFxo stUdX63HPM5XGf3h1cRLAQDFblCFq9mqV14R/PpB5glkcAJD1SPPv7R6RQn5N9cDkkzb Hxg7K1oqcT80PovR8PvVp7A59sBFpJNYQ7WO4EnIM2N0v+peJO0NaZEJnkWxohRO2djd Qt72gaSVXjN+ju6KSiY+EIjS8VJGUTH6pZ71fDfiq0E7R0ouCOXC2qia/K0v1hViIf3Q 3SM+uOksIO6312NC89ZDxXxSU+rTlUJT2IXW6hsSX6mY300gkWbhzG7/d9i4hU9D5J5/ /D1A== |
X-Gm-Message-State: | ALoCoQn6MyYEu2PM6hMKoK2A9/Vv5uFzTpnFWIbDSRka47tfTOqeL1MCFYb3TDfuYF35wRkvygPJ |
X-Received: | by 10.43.129.70 with SMTP id hh6mr2145478icc.68.1389358663411; Fri, 10 Jan 2014 04:57:43 -0800 (PST) |
Message-ID: | <52CFEE44.9090504@whitelancer.com> |
Date: | Fri, 10 Jan 2014 07:57:40 -0500 |
From: | John Smith <john AT whitelancer DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Windows 8 group won't respect /etc/passwd or /etc/group |
References: | <52CD6FF0 DOT 1010309 AT whitelancer DOT com> <20140108155850 DOT GG1336 AT calimero DOT vinschen DOT de> <52CD85EC DOT 3090108 AT whitelancer DOT com> <20140108174930 DOT GJ1336 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20140108174930.GJ1336@calimero.vinschen.de> |
Hi there, I wanted to say thanks again for the help. With your advice I was able to track it down -- well, the most annoying parts, anyway. I had an editor I was using that did not have all the same permissions assigned to it as say, Notepad or Wordpad. The net effect is that it was somehow changing the group back to None every single time it saved a file. This I finally solved by copying the same permissions I saw on Notepad -- including a special one entitled "ALL APPLICATION PACKAGES". So now with that application having the above, plus SYSTEM, my account, Administrators, and Users, it was able to edit the file without changing the group or permissions as we intend. > OTOH, I don't understand what you're trying to accomplish. You can just > change the name of the "none" (or "HomeUser", see below) group in > /etc/group and be happy. The group membership doesn't really matter on > a non-domain standalone system anyway. The reason I was having this issue in the first place was because the None user group won't allow me to change group permissions. When rsyncing with a remote server, I mirror permissions from that server and what was happening was that I had to change my group locally to anything else besides None (Lots of this help online, see http://stackoverflow.com/questions/9561759/why-cannot-chmod-in-cygwin-on-windows-8-cp for one such example) in order to make it accept the permissions for groups. It is aggravating, but such is the way of things currently. Perhaps there is a way to make cygwin allow the 'None' group to have permissions or something to get around this? That seems somewhat dangerous but then again, like you said below, the "None" group really is a group -- so I don't know. I'm going to mess around with changing the group name within Cygwin -- perhaps it's just the word "None" that causes this group permission problem, and not the id 513. That seems unlikely but I am going to give it a shot anyway. > I can't be sure, but it seems that Windows uses that group as primary > group if you're using the HomeGroup sharing stuff, which I have no > experience with. I tried to reproduce this, but this is apparently not > enabled on enterprise systems. But I read a bit about it, and it > seems to have a life on its own, for instance: I did mess around with HomeGroup permissions and found they weren't the issue. It wasn't until I changed the permissions to match what I saw on another system application (Notepad) that I noticed the ALL APPLICATION PACKAGES and the like. I don't know if that's the particular fix, but I just removed all permissions and re-added them, ensuring inheritance was *off*, and that seemed to fix the changing group issue, anyway. >> If that is the case, how do I make a manual entry in my /etc/group >> for a "John" group? > > Don't. That's your user account. It doesn't belong into /etc/group. Ultimately the other tool I used to troubleshoot was to create a new user locally, too. I was trying to debug whether it was the Windows 8 "live" account that was the issue vs a local account, and found that the local account worked fine (well, at least getting rid of the ???????? group. After messing with that, regenerating the /etc/group and /etc/passwd files, a reboot, I was able to get my normal account to recognize "None" again. So bizarre. I am not sure why adding another user and regenerating those /group/mkpasswd files fixed the issue, but it seemed to. I must have regenerated those files a dozen times over the course of the past week trying to solve this issue. I wish I could tell someone else reading this what the right answer was, but when in doubt, reboot after the change. Hopefully this helps someone else out there. Thanks so much for your help, Corinna, it was vital to tracking down the issue with the permissions on the application itself being the issue. -- 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 |