This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Directory named "." created at /: seems to have happened during update


On Mar  1 13:11, Corinna Vinschen wrote:
> On Mar  1 13:05, Corinna Vinschen wrote:
> > On Mar  1 12:32, Corinna Vinschen wrote:
> > > On Mar  1 11:08, Fergus wrote:
> > > > My Cygwin [1.7] is located at the root of a mobile hard drive and a
> > > > simple DOS dir command now shows a directory named . as in
> > > > [...]
> > > 
> > > Oh boy.  I didn't even know that NT allows that.
> > > 
> > > That's two bugs in one.  The lilypond package has paths with leading
> > > "./" in it, and setup.exe does not recognize that and remove the dot
> > > path.
> > > 
> > > For now I have removed the latest lilypond package from the distro.
> > > Jan, can you please fix your package not to have leading ./ in the path?
> > > 
> > > As for setup.exe, I have to have a look how to avoid that.
> > 
> > The problem is, I can't reproduce it.  I created two test packages,
> > one with a file "./file" in it, the other with a file "tmp/./file".
> > In both cases, setup.exe failed to create the file and showed a
> > message "unable to extract ...".
> > 
> > This was on Windows 7.  What Windows are you using?  Maybe an older
> > version allows it.  Unless I can create the "." directory myself,
> > I can't fix it.
> 
> On Windows XP I can't reproduce it either.  Hmm.

Are you sure the directory name is really "."?  Could you please have
a look if the directory isn't called ". " with one or more trailing
spaces?  Creating such directories is no problem and removing isn't
a problem either:

  $ rmdir ". "


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]