This is the mail archive of the
mailing list for the Cygwin project.
Re: Possible issue with chown v8.25
- From: lostbits <aschwarz1309 at att dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 15 May 2016 21:55:22 -0700
- Subject: Re: Possible issue with chown v8.25
- Authentication-results: sourceware.org; auth=none
- References: <4dc470a5-6d19-348e-569b-81702aff8602 at att dot net> <626561572 dot 20160516041656 at yandex dot ru>
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
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.
On 5/15/2016 6:16 PM, Andrey Repin wrote:
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
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple