Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I open a unix executable file?

I am currently working on a MacBook Pro, running OS X Yosemite (10.10.1).


MANY years ago (over 10), I saved a bunch of MS Word files from my old Mac, probably an iMac, to an external hard drive. Today, in an effort to open one of my mother's secret recipes, I found that the file is now showing up as a "unix executable file" which cannot be opened by anything so far.


Here's what I've tried:


Adding a .doc extension and then trying to open it in Word 2011 on my Mac.


Adding a .txt exension and trying to open it in Text Editor.


Using the Terminal to try to do some voodoo I read about in one of the forums. :-)


If my mother were not deceased, I would not worry about this, but I'm beyond bummed that I can't even open this file.


Anyone out there have a fix for this?

MacBook Pro with Retina display, OS X Yosemite (10.10.1)

Posted on Nov 29, 2014 7:52 PM

Reply
40 replies
Sort By: 

Nov 29, 2014 7:56 PM in response to DebSaks

A unix executable is a binary file. Those old Word files were saved in a binary format, hence, the are interpreted as such. Give their age not even today's Word can open them directly. But you should open Word and try to open the file from Word's File menu rather than trying to double-click on the file.


You might also try using the freeware, Open Office, to open the file in the same manner as above.

Reply

Nov 29, 2014 9:30 PM in response to DebSaks

OS X is classifying the files as programmes because they have the executable permission set on them, which is probably due to them being copied from a volume that doesn't support POSIX file system permissions.


To remove the executable permission from all of the Word documents on your Mac, do the following:


  1. Open Terminal.
  2. Enter "
    mdfind -0 'kMDItemContentType = "com.microsoft.word.doc"' | xargs -0 chmod -x
    ".
Reply

Nov 29, 2014 10:50 PM in response to richard3

Richard3,


Thank you. I input this code into Terminal, and the reply I got was this:


chmod: Unable to change file mode on /Applications/Microsoft Office 2011/Office/MicrosoftOfficeDRM.framework/Versions/14/Resources/en.lproj/prottpl v.doc: Operation not permitted


What now? I do appreciate all these ideas. Something has to work. There is data there. When I open it using Word/unicode, there's gobbledeegook, just nothing readable.

Reply

Nov 29, 2014 11:17 PM in response to DebSaks

DebSaks wrote:


I am assuming I should continue to exclude the quotation marks.


Yes.


What do you mean by "focus the window"? I will definitely post the reply as soon as I'm in focus. 😉


I simply meant that you must click on the window so that it'll receive your input. 🙂

Reply

Nov 29, 2014 11:41 PM in response to richard3

While anything is possible, I don't think it is likely. I'm suspecting the recipes are circa 1995 when I was was working on my dissertation on my Mac (Macintosh Classic II). I don't recall anything other than Word being my document processor of choice.


I know I used Word Perfect at some point before MS Word became the application of choice, but I couldn't tell you when.


All this really tells me is that I am 1. Old and 2. A VERY loyal Apple consumer.

Reply

Nov 30, 2014 7:59 AM in response to DebSaks

If you are wiling to share one of these files via Dropbox, I have a few old Macs floating around that I can use to figure out what files these are, if they are not corrupted during the copying process.


Have you tried OpenOffice or LibreOffice?


If you can see the dates on these files, you can also try looking at http://en.wikipedia.org/wiki/Comparison_of_word_processors to see what could have been used.


Do you recall the source machine from where these came? You have mentioned Classic II and SE 30.

Reply

How do I open a unix executable file?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.