bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: directory changed to a file


From: Marco Gerards
Subject: Re: directory changed to a file
Date: 18 Nov 2003 21:46:36 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Randy Solomonson <address@hidden> writes:

> Hello-
> 
> A directory that I have was strangely changed into a file.  Is there a
> way to change it back to a directory?  I think cvs was doing it.  It's
> very odd.

This is a bug of your filesystem driver (Linux I assume?) and has
nothing to do with coreutils.  You can fix this if you have some time
to study how a directory is stored on a fat filesystem and know how to
work with a hex editor.

Just locate the directory name on your partition and change the type
of the file to directory (If this is the problem).

I suggest you do this before running fsck.  Of course you should make
a backup before doing this and I'm not responsible for any damage if
this doesn't work.
 
--
Marco





reply via email to

[Prev in Thread] Current Thread [Next in Thread]