delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/11/07/23:47:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
X-Cloudmark-SP-Filtered: true
X-Cloudmark-SP-Result: v=1.0 c=1 a=Laq68CgWZ0IA:10 a=kCKDY91tEBMc+hi4YtGk8Q==:17 a=ac7BDjC-vltHrh9gCGMA:9 a=G8cSGg7Du5jgQW5p-N4zoMID1C0A:4
Message-ID: <4AF64D5F.3070408@monai.ca>
Date: Sat, 07 Nov 2009 20:47:27 -0800
From: Steven Monai <steve+cygwin AT monai DOT ca>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Why do 'find' and 'ls' act differently on ACLs
References: <26250118 DOT post AT talk DOT nabble DOT com>
In-Reply-To: <26250118.post@talk.nabble.com>
X-IsSubscribed: yes
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

aputerguy wrote:
> Why do 'ls and 'find' seem to treat the ACL restrictions differently.

They definitely should not. If they do, then there's a bug to be squashed.

> Specifically, 'ls /c/Documents and Settings/Administrators' works
> while 'find /c/Documents and Settings/Administrators' returns:
>    find: `/c/Documents and Settings/Administrator/': Permission denied

I cannot replicate this behaviour.

Can you provide a minimal test case that reliably demonstrates what
you're seeing? A short script that creates some data, sets some
particular ACLs, and then invokes 'ls' and 'find' would be ideal.

-SM
--


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