[CentOS] How to change an executable into a directory

Tue Dec 30 18:54:06 UTC 2008
John <jses27 at gmail.com>

> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of MHR
> Sent: Tuesday, December 30, 2008 1:41 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] How to change an executable into a directory
> 
> On Tue, Dec 30, 2008 at 10:36 AM, MHR <mhullrich at gmail.com> wrote:
> >
> > Yes, quite.
> >
> > I save a fair number of web pages (receipts, bill payments, 
> etc.) for
> > what should be obvious reasons.
> >
> > Usually, these come down as an html file and a directory 
> (of "sub-html" files).
> >
> > I have two files that correspond to two html files in the right file
> > name format that seem as though they should be the _files 
> directories,
> > but they are ELF files:
> >
> > [mrichter at swordfish mhrdocs]$ file *_files
> > chv81128_files: ELF 32-bit LSB shared object, Intel 80386, version 1
> > (SYSV), stripped
> > chX81125_files: ELF 32-bit LSB shared object, Intel 80386, version 1
> > (SYSV), stripped
> > [mrichter at swordfish mhrdocs]$ ll *_files
> > -r--r--r-- 1 mrichter RnD 596460 May 29  2008 chv81128_files
> > -r--r--r-- 1 mrichter RnD  43756 May 29  2008 chX81125_files
> >
> > These correspond to two html files which do not display correctly
> > (because the files that are supposed to be in those directories are
> > not because the directories appear to be executables.  I 
> don't really
> > think I want to try running them....
> >
> > So, is there a way to change a file into a directory?  Or 
> am I crazy?
> >
> > Thanks.
> >
> > mhr
> >
> 
> PS: I put them on another machine and ran them as binaries - both
> terminated with segmentation faults, and gdb shows no backtrace:
> 
> #0  0x00000001 in ?? ()
> 
> So, . . . ???  :-)

Maybe the file Header is Corrupted or you have the wrong file association
with then??? Did you try opening them with a browser exclusivly? Is the
directory marked executable? ls -l Maybe they were saved in the wrong
format? Just a thought of explanations?

JohnStanley