case sensitivity bug?
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Oct 19 11:29:00 GMT 2016
On Sep 20 20:33, Ken Brown wrote:
> I've set up my Cygwin installation to be case sensitive, following the instructions at
>
> https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-casesensitive
>
> But it doesn't seem to be working as I expect. For example:
>
> $ mkdir a
>
> $ mkdir A
>
> $ ls -al [aA]
> a:
> total 100
> drwxr-xr-x+ 1 kbrown None 0 2016-09-20 20:18 ./
> drwxrwxrwt+ 1 kbrown-admin None 0 2016-09-20 20:19 ../
>
> A:
> total 100
> drwxr-xr-x+ 1 kbrown None 0 2016-09-20 20:19 ./
> drwxrwxrwt+ 1 kbrown-admin None 0 2016-09-20 20:19 ../
>
> $ mv a A
> mv: cannot move 'a' to a subdirectory of itself, 'A/a'
>
> Why does mv think that A and a are the same directory?
>
> Here's another example, where mv should simply do a rename, but it doesn't:
>
> $ rmdir A
>
> $ mv a A
>
> $ ls -al a
> total 100
> drwxr-xr-x+ 1 kbrown None 0 2016-09-20 20:18 ./
> drwxrwxrwt+ 1 kbrown-admin None 0 2016-09-20 20:30 ../
>
> $ ls -al A
> ls: cannot access 'A': No such file or directory
>
> cygcheck output is attached.
Looks like a *very* old misbehaviour. I applied a patch to Cygwin
to fix this. I'll create a snapshot later today, please test.
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20161019/3c453963/attachment.sig>
More information about the Cygwin
mailing list