Computing.Net > Forums > Unix > Binaries come out as text

Binaries come out as text

Reply to Message Icon

Original Message
Name: Steve Grady
Date: February 16, 2000 at 16:40:35 Pacific
Subject: Binaries come out as text
Comment:

I recently tried to use a SNES emulator on RH 6.0, but when I used untar and gzip to extract it, the programs were in text form instead of binary. I was storring them on a cd formatted for windows, but I don't think that should have done anything.


Report Offensive Message For Removal


Response Number 1
Name: Steve Grady
Date: February 16, 2000 at 16:53:42 Pacific
Reply: (edit)

Oh, and they were the binary distibution, not the source.


Report Offensive Follow Up For Removal

Response Number 2
Name: Ben Shirani
Date: February 27, 2000 at 15:58:10 Pacific
Reply: (edit)

The only thing that distingushes bin's from text (that you can see) is the permissions. Check to see if you have the +x (executable) flag on the binary files, otherwise they will be recognized as not exectuable. Check out the man chmod for more info.

--Ben Shirani (rooster@stic.net)


Report Offensive Follow Up For Removal

Response Number 3
Name: faisal
Date: March 3, 2000 at 06:15:45 Pacific
Reply: (edit)

It seems to me like a problem with the source .gz files or .tar
If you had them ftp'ed then do it again using the "bin" command before you ftp ...
Unix doesn't care what the names are or even permissions.
It stores all the files as a series of bites
so make sure of the source....
things might have been misinterpreted somewhere along the way from DOS to Unix....
dos appends Line feeds and other special chars to text files....


Report Offensive Follow Up For Removal







Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Binaries come out as text

Comments:

 


  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 
Data Recovery Software




Have you ever used OpenOffice?

Yes, as my main suite.
Yes, occationally.
Yes, but only once.
No, never.


View Results

Poll Finishes In 5 Days.
Discuss in The Lounge