delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 16 Oct 2006 15:46:46 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Permission to read anything from ls, cp, and find? |
Message-ID: | <20061016134646.GW8323@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20061012202458 DOT GA24871 AT panix DOT com> <20061016131417 DOT GV8323 AT calimero DOT vinschen DOT de> <4533875B DOT 2020807 AT byu DOT net> |
Mime-Version: | 1.0 |
In-Reply-To: | <4533875B.2020807@byu.net> |
User-Agent: | Mutt/1.4.2i |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Oct 16 07:21, Eric Blake wrote: > According to Corinna Vinschen on 10/16/2006 7:14 AM: > > for instance, find(1) traverses directory trees by chdir'ing into > > directories before listing them. So even with this patch, find(1) is > > still not a good candidate for backing up directory trees in a situation > > as you describe above. tar(1) doesn't seem to have this problem, > > though. > > Which version of find? find 4.3.0 switched over to gnulib's fts > implementation, which, if openat() and friends were to be implemented, is It's with find 4.3.0. It just doesn't traverse into a directory which it has no permissions for. Since reading the directory works usually, I concluded that the failing chdir (see an strace) is the culprit. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |