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: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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=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: <618133 DOT 99640 DOT qm AT web101102 DOT mail DOT kks DOT yahoo DOT co DOT jp> Date: Mon, 25 Apr 2016 19:18:50 -0600 Message-ID: Subject: Re: Permission Problems From: Dave Caswell To: Tatsuro MATSUOKA Cc: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes On Mon, Apr 25, 2016 at 4:30 AM, Tatsuro MATSUOKA 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 AT MERCURYWIN ~/python >> $ rm -rf g1 >> davec AT MERCURYWIN ~/python >> $ mkdir g1 g1/g2 g1/g2/g3 >> davec AT 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