delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/05/15/18:35:44

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=e5c
E7dhvSFzgVag39OKoXI036AvwhwcfKqa19E0OJOaSStQnWlbtkvgQt5B84Z8ySLx
nwRatweTWpv2RZZac09eQe/NmTCMI9pAyJ3XAdBWb0xrQbxzQH+aOXNVDFB8QHni
y6vKZBp3KpfM8X11lHKZwQvr7E6jiW1fNofoRzwA=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=l/pX5QAq3
1lAAh/FLhsv0UiLQqA=; b=Q3vAGpRb6UgFKVPq6wYLFEOwb0rzBu8SqLOgdJTGL
ft83DBScY7ezA7/iZ8UFfULFQ5CxctZqFqcf1bQeYKlP5ZEBE3UfHqqMhe1eyzeZ
r7mUgrYc0sMCve6DLKGaDlKWWgl2rM0EV/wjwqvtwGwSts/nuqGY6BM0SyonzErY
RQ=
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.4 required=5.0 tests=BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 spammy=Administrator, Hx-spam-relays-external:sk:nm22-vm, HX-HELO:sk:nm22-vm, H*RU:sk:nm22-vm
X-HELO: nm22-vm2.access.bullet.mail.gq1.yahoo.com
X-Yahoo-SMTP: 0z5TJLmswBDohOc2QznCIeoaEiEalQiTSMLFNdKdTt4t
To: cygwin AT cygwin DOT com
From: lostbits <aschwarz1309 AT att DOT net>
Subject: Possible issue with chown v8.25
Message-ID: <4dc470a5-6d19-348e-569b-81702aff8602@att.net>
Date: Sun, 15 May 2016 15:34:59 -0700
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0
MIME-Version: 1.0

Win7 SP1
chown v8.25 Package 8.25-3

Possible related issue at: 
https://sourceware.org/ml/cygwin/2016-04/msg00400.html

Windows operation: Run as Administrator <cygwin shell>
 > chown -R owner:group *

Windows operation: Explorer <directory> -> Operation -> Security
                    Message "The permissions on <directory> are incorrectly
                    ordered which may cause some entries to be ineffective."

                    Click OK -> Edit
                    Message "The permissions on <directory> are incorrectly
                    ordered which may cause some entries to be ineffective.

                    To order the Permissions correctly, click Reorder

                    To leave the permissions unchanged (the view will be
                    read-only) click Cancel"

                    Click Reorder
                    This corrects the error.

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

art


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019