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:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=K0P3guDV6yiAH2E1
	6K0t2hzHOh0Cu2XOH9nGWhScf0MGifBAz8EA4lEjmbrbKBtNCUrtq+PbMqbHjWAl
	/kWNzopuMt1jaToXZsiMjghlrMQjkCtMRvjQyiyULwQFa4wvTHfoZ0+xrW1khQbK
	3T7eWZL5Lei9UzVcSMfQ/zZywb0=
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=Abd7EJwtoZ5FoVLLloTlbo
	NxIrc=; b=n9EccHlq6HZsgAFbgxsyJNPRLYsACDAt3zMHsDlb1omb3JaAYX1kBx
	YxyJKvhALXvMouRLkoeYyFWwr0R377R5WP5o4JU4YuFtEUq7OwnMqK9uVOXal/kr
	qEWYwSFtzLsbK/bli9jlSl43SN5n7lWjWUsEOYRxgnxNrM7Nu1xZ0=
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=0.4 required=5.0 tests=BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=andrey, Andrey, lostbits, listings
X-HELO: nm16-vm6.access.bullet.mail.bf1.yahoo.com
X-Yahoo-SMTP: 0z5TJLmswBDohOc2QznCIeoaEiEalQiTSMLFNdKdTt4t
Subject: Re: Possible issue with chown v8.25
To: cygwin@cygwin.com
References: <4dc470a5-6d19-348e-569b-81702aff8602@att.net> <626561572.20160516041656@yandex.ru>
From: lostbits <aschwarz1309@att.net>
Message-ID: <8b64e8f5-8419-1ae2-05c1-d2fc64bb7218@att.net>
Date: Sun, 15 May 2016 21:55:22 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0
In-Reply-To: <626561572.20160516041656@yandex.ru>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Your English is fine - mine is problematical.

What are icacls and getfacl listings?

My problem is that after a chown the directories are inaccessible and/or 
I can not look at the Security property without getting a diagnostic. I 
have assumed that the diagnostic indicates an issue. I get the feeling 
that the diagnostic does not indicate a fault and that things should 
work fine.

I just ran a minitest:

 > mkdir gg
 > touch gg/cc
 > chown -R <owner>:<group> gg

In the Explorer I get the same diagnostic on gg and the <owner> has no 
permissions. Is this the correct behavior (and if you tell me what 
icacls and getfacl listings I will provide them.

art

PS: Thanks



On 5/15/2016 6:16 PM, Andrey Repin wrote:
> Greetings, lostbits!
>
>>                      Click Reorder
> Don't do that.
>
>>                      This corrects the error.
> No, it breaks permissions.
>
>> For the directory and contained subdirectories, the <owner> is put into
>> the "Group or user names" popup of the Security property. The <owner>
>> has no assigned permissions.
>> The contained files in the directory have <owner> in the "Group or user
>> names" popup of the Security property. The <owner> has all permissions
>> except special permissions.
>> Summary: When the chown -R command is given, the ownership and group of
>> the directory and contained files are changed but the permissions of the
>> directory are detected as incorrect by Win7.
> Don't confuse Explorer and OS itself.
>
>> The owner has no
>> permissions in the directory but does have permissions in the files
>> contained in the directory.
>> I don't think that this is something that I caused through a fault of my
>> own. It looks like a chown bug.  Is there a workaround?
> You didn't tell us, what is your problem.
> You did not provide icacls and getfacl listings.
>
>


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

