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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type; q=dns; s=default; b=
	qGR8zVcS9CV8MW7IoKgLiDDxaYGwEb544TUbdYZ5+aiOgwyssnICULbJvmYfh1og
	GwK12N6vDg64N8px1hYPjIf8C6XSKBq7g8C40oBJ4ihiLnkDyT3mFEHObT4HgCo7
	CmEqO7PwccWEEx8904GxLYJAbsh3ijhYK7a4XzSNYTE=
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:mime-version:in-reply-to:references:date
	:message-id:subject:from:to:cc:content-type; s=default; bh=L6c12
	ldhFuesq06Ifc5x9WNBLs4=; b=ZSBZSxJlLjKLS/tmC8c3gP2N0yyHrvpZceUqA
	NSp1nvPCIknKwQkk0IKvGbhVkBXwFpFOCz2NDYL8duRXB7az6bIUB3tInasdjY0K
	8QL2ueTRoFV4tWzBU4lMSkyCi291xonm/Wr0IVEaOtbwigIydSRikilW3+htvJ1e
	aPmbw4=
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=1.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=HCc:D*cygwin.com, matsuoka, MATSUOKA, HCc:U*cygwin
X-HELO: mail-ob0-f193.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:mime-version:in-reply-to:references:date         :message-id:subject:from:to:cc;        bh=Xi15fuvGcvtDVtcPvD7g2TrVtgjPmOpP+w7Mt+ztwP8=;        b=j0PZsmJ5I+gu1URdI1KwMyS4dSfj8ePfBMexByFeQD9Jwj01/gd2EtwpVnbSf8jJcA         m4DBdnRObyrAXE5Blqz3NxQ5ofFcnbbTSgvM3ZUdaYo4h5kxMFtfe/1t/Ela2QI4gv/M         8oiPnhKFQyOfh4gKnBmY3m5sAIeslqsuEbeA2VZspXrVKNvlezb3R4yz3CygZr37LC+X         KyNeIDnkjIrl6hBliP9eKFgjByemDdz3cdNbAEQz21jz3x7bJwQsVDtRrQQHPOfFB75c         wUluURCMNapD3jwTrrkLU6E8WGfKREJNaB2T+eqCY8u6wE9873EcIJAWZ8lxMgAlkOx3         0qFw==
X-Gm-Message-State: AOPr4FVIEZX+vWtAmAmZGTfnyATBAd8O8vGWEej1KCwp/l8rlZJtvheQ/LlanDZC8nJOfY8UfEr7IG1BBMKz+w==
MIME-Version: 1.0
X-Received: by 10.182.29.2 with SMTP id f2mr16572390obh.6.1461633530349; Mon, 25 Apr 2016 18:18:50 -0700 (PDT)
In-Reply-To: <618133.99640.qm@web101102.mail.kks.yahoo.co.jp>
References: <CAG2dRtGFfj8cTefVhwx+fgAxArEurBbj=v8W44VEPZdto2aVRQ@mail.gmail.com>	<618133.99640.qm@web101102.mail.kks.yahoo.co.jp>
Date: Mon, 25 Apr 2016 19:18:50 -0600
Message-ID: <CAG2dRtFw0X69dvz4dc4Jehitng=WEpdQF7SwGcGuvz3im7Ts1A@mail.gmail.com>
Subject: Re: Permission Problems
From: Dave Caswell <dave.caswell@gmail.com>
To: Tatsuro MATSUOKA <matsuoka@nuce.nagoya-u.ac.jp>
Cc: cygwin@cygwin.com
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

On Mon, Apr 25, 2016 at 4:30 AM, Tatsuro MATSUOKA
<tmacchant2@yahoo.co.jp> wrote:
>> From: Dave Caswell
>> To: cygwin
>            > Cc:
>> Date: 2016/4/25, Mon 09:29
>> Subject: Permission Problems
>>
>>T his is a followup to: https://cygwin.com/ml/cygwin/2016-03/msg00345.html
>>
>> To recap, making three nested directories  on a non-C drive produces a
>> third level which is unusable.
>>
>> davec@MERCURYWIN ~/python
>> $ rm -rf g1
>> davec@MERCURYWIN ~/python
>> $ mkdir g1 g1/g2 g1/g2/g3
>> davec@MERCURYWIN ~/python
>> $ ls -la g1 g1/g2 g1/g2/g3
>> g1:
>> total 12
>> drwxrwxr-x+ 1 davec None 0 Mar 16 20:23 ./
>> drwxrwx---+ 1 davec Users 0 Mar 16 20:23 ../
>> drwsrwsr-t+ 1 davec None 0 Mar 16 20:23 g2/
>> g1/g2:
>> total 0
>> drwsrwsr-t+ 1 davec None 0 Mar 16 20:23 ./
>> drwxrwxr-x+ 1 davec None 0 Mar 16 20:23 ../
>> d--Srws--T+ 1 davec None 0 Mar 16 20:23 g3/
>> ls: cannot open directory 'g1/g2/g3': Permission denied
>>
>> The problem went away with Cygwin 2.5.0-0.7 but is back with 2.5.1-1,
>> and goes away when I downgrade back to 2.5.0-1
>>
>> More info:  I tested on a couple of external drives and things worked
>> properly there.   Can I have screwed up the permissions on my D drive
>> so that cygwin gets confused but Windows still works?
>>
>> thanks
>>
> Perhaps workaround is to use the beloe
> $ cygstart --action=runas (cygwin command)
>
> In your case,
> $ cygstart --action=runas ls -la g1 g1/g2 g1/g2/g3
> Tatsuro

The problem is the creation of a directory (or file) with a mangled
ACL..  at least windows isn't capable of dealing with the directory
either.

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

