delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
X-YMail-OSG: | Tuvw228VM1m0tbfL2EQBxcizou44osxDhSL7gbgFedKZw0iytuQdbye3ow9vHuzYGw-- |
Date: | Sun, 24 Feb 2008 08:19:56 +0100 (CET) |
From: | Marco Atzeri <marco_atzeri AT yahoo DOT it> |
Subject: | Re: cygcheck -f ... misleading as to file ownership & no relative paths |
To: | cygwin AT cygwin DOT com |
In-Reply-To: | <47C0FB89.3020802@tlinx.org> |
MIME-Version: | 1.0 |
Message-ID: | <493595.26936.qm@web25002.mail.ukl.yahoo.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
--- Linda Walsh ha scritto: > > "cygcheck -f" doesn't work if you are in a directory > and you execute it on > files in the directory (unless you are in "/"). > I.e. it doesn't > seem to recognize relative directories. Hi Linda, you are right but there is a easy trick :-) at least if a cygwin shell is working $ cd /usr/share/doc/bash-3.2.33/ /usr/share/doc/bash-3.2.33 $ cygcheck -f README (No Answer) /usr/share/doc/bash-3.2.33 $ cygcheck -f $PWD/README bash-3.2.33-18 (Right answer) if cygwin is not working, cygpath and cygcheck should be used together C:\cygwin\usr\share\doc\bash-3.2.33>cygpath -a README /usr/share/doc/bash-3.2.33/README C:\cygwin\usr\share\doc\bash-3.2.33>cygcheck -f /usr/share/doc/bash-3.2.33/README bash-3.2.33-18 Regards Marco ___________________________________ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- 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 |