X-Recipient: archive-cygwin@delorie.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:reply-to:subject:references:to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=BqBFoDOzuozG/t6y
	XlMNqE6NveWi7wc8lgNjqGuw88JSiGttiSliLFfVdppp2DlN/zK5ECK6mvgsA5Rf
	SD/eZd2Le6aV6sEkIjcaYu5jp4O+DTTU3fS/wKpOSg6/gFHL0VCfwvKHTUDlV/Ml
	kaupT66Zovh7160+0RwwpsLZsk8=
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:reply-to:subject:references:to:from:message-id
	:date:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=1KxRi9gSLq1rv8kjdMF1Q5
	tV1Jo=; b=pOLQI38AJi06R/vHOZEsPXebRtqP3htIf8KS+4RiRLhliDg8U/t2nV
	gBGcunkLxazApqTlCv1BhB6fq7Fmtk1hhsZm7YxxM9LTnYEbb5uZk6oByos+eKnN
	I4dmh4/bgQodNDci5wkLr8AU3xtD9p//xLEAOdMAX1coHX3UmfTOw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=4.7 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPAM_BODY1 autolearn=no version=3.3.2 spammy=shooting, Permissions, nsswitch, Moss!
X-HELO: csmail.cs.umass.edu
Reply-To: moss@cs.umass.edu
Subject: Re: Permissions change concern
References: <5712F224.7070308@cs.umass.edu> <137271635.20160418003844@yandex.ru>
To: cygwin@cygwin.com
From: Eliot Moss <moss@cs.umass.edu>
Message-ID: <57141E8A.5030404@cs.umass.edu>
Date: Sun, 17 Apr 2016 19:38:50 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
MIME-Version: 1.0
In-Reply-To: <137271635.20160418003844@yandex.ru>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 4/17/2016 5:38 PM, Andrey Repin wrote:
> Greetings, Eliot Moss!
>
>> Dear Corinna (et al.):  I have set up to use a separate group that I call
>> Cygwin for files in my cygwin tree, and in the recent past have been able to
>> apply chown, chgrp, and chmod effectively.  With the latest version, chmod
>> fails to change permissions, though I can change them with setfacl (a pain).
>
> I may be shooting in the dark, but do try to set "Cygwin" as your user's
> primary group.
> Instructions how to do so should be around nsswitch documentation.
> If I'm not confusing things. Sorry. It was well before 2.0 I fixed my ACL
> issues and didn't touched them settings since.

Ok ... I used:

net user moss /comment:'<cygwin group="Cygwin"/>'

which did change the description field of the SAM user account information.

However, it did not affect the behavior of chmod (I did, of course, end all
Cygwin processes and restarted them).

Regards -- EM

--
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

