delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/01/11:05:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B8BE5A1.6000005@towo.net>
Date: Mon, 01 Mar 2010 17:04:49 +0100
From: Thomas Wolff <towo AT towo DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Directory named "." created at /: seems to have happened during update
References: <4B8BDC2C DOT 20406 AT bonhard DOT uklinux DOT net>
In-Reply-To: <4B8BDC2C.20406@bonhard.uklinux.net>
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

On 01.03.2010 16:24, Fergus wrote:
> ...
> >> Are you sure the directory name is really "."?
>
> Yes. I tried various mechanisms for testing this such as
>
> dir ". "
> rename ". " "mydir"
>
> etc all to  no avail. And also I see the / after the listing:
>
> ls -al /m
> total 16
> drwxr-xr-x  14 fergus ver_1.5    0 Jan  1  1970 ./
> drwxr-xr-x  14 fergus ver_1.5    0 Jan  1  1970 ./
> drwxr-xr-x  15 fergus ver_1.5    0 Jan  1  1970 ../
> <etc etc>
These are not safe checks. I've got weird directory names created myself 
which contained control characters that rendered invisible...

Do either of:
     ls | od -ab
or
     ls | od -t ax1
or
     ls > ls
and inspect the output with a binary-transparent editor (e.g. mined :) )

Thomas

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