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:message-id:references:date:from:reply-to :subject:to:in-reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=nHObPKuyUCSRfzOi C8W/j8OsAH8mZG9v5F07ztbb5pw4wEEWIRX3u2/EeiElzjW7lzgBbUIrSuj0VwBC /G7aN4cJh/QvfyXAvIU2Y8IltP+aLoSPPW/dvk1omp8YRmJ0ER3i0gqNiVz4yeCH Q0FBp435KtR3SsZaEx8Qds/y804= 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:message-id:references:date:from:reply-to :subject:to:in-reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=WnY3E1SSw3Q0l4oOzl9Cwm 0O17Q=; b=f1o2NrwXlzZvyHjYlr+SDRz1TJWRc+4cy0HFl8uyobkmh3JnaWm/uB O+yARiRDV3MWArAoUn+gac6ny4Q+bUoQoRjFVvMBZVYzeeG89iTESI7hL7oSNLgw HbvaWMvxFDh8CGpK47J17neekNrMJSP9ZsaoOft5QzBQqzkvJIttI= 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=-0.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=H*F:D*yahoo.co.jp, HX-HELO:sk:nh503-v, Hx-spam-relays-external:sk:nh503.b, H*RU:sk:nh503.b X-HELO: nh503-vm1.bullet.mail.kks.yahoo.co.jp Message-ID: <618133.99640.qm@web101102.mail.kks.yahoo.co.jp> X-YMail-JAS: xHLbqvIVM1lV6B3pHIkNhz9PO3TR3XaID6hXQ.Aqxx2t5WDOrB_R_Fhlbbkqz0vlvdwpNddnTsWRZf7HK9DWFjoc2C8PUmlNQ9022jY3i8B6aQ73JeYgOQFaG0AuZ5HEjkXj References: Date: Mon, 25 Apr 2016 19:30:41 +0900 (JST) From: Tatsuro MATSUOKA Reply-To: Tatsuro MATSUOKA Subject: Re: Permission Problems To: Dave Caswell , cygwin AT cygwin DOT com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u3PAVCEb027203 > 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 -- 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