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 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 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 Precedence: bulk List-Id: List-Unsubscribe: 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 --- 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/