Apple Event: May 7th at 7 am PT

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

text file gets truncated to single line saying: has been modified and will not be repaired.

I have a text file called "notes" which periodically gets truncated to 44k and the contents become a single line saying:


"has been modified and will not be repaired."

When I run the file command on it I get:

"notes: OS/2 REXX batch file text".

I have no idea why, and have never used an OS/2 batch file. I'm getting tired of restoring it from backup. Any ideas?

MacBook Pro, OS X Mavericks (10.9.5)

Posted on Jan 16, 2016 12:31 PM

Reply
3 replies

Jan 16, 2016 3:35 PM in response to red_menace

Yes, and the file command is usually pretty accurate. The question is why is the file getting truncated? It's not specific to the editor because the file has been edited with emacs (in terminal), Aquamacs, and TextWrangler. It is possible, though not verified that it happens after doing "Repair Disk Permissions" in Disk Utility. There doesn't seem to be anything odd about the permissions:


-rw-r--r-- 1 sg staff 925857 Jan 16 14:11 notes

text file gets truncated to single line saying: has been modified and will not be repaired.

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