Garbled text at end of file. Is this encryption related?

2

1

Preface: About a month or so, we upgraded our work systems from a Windows 7 desktop to a Windows 8.1 Dell laptop. Laptop's file system is NTFS with DDPE file encryption and desktop's file system is NTFS, but no encryption. I am having issues honing into this specific problem, so I am asking a new question. I asked this over on stackoverflow and someone mentioned that superuser would probably be a better place for this question.

Problem: We're getting garbled text issues at the end of file with any extension. Randomly happens to some files on computer restarts. Randomly means it sometimes happens, sometimes doesn't. Happens on projects started on desktop and projects started on laptop. For the .sublime-workspace files, it doesn't matter if the project has been opened during the computer's uptime or not. For files within a project, seems to only happen to the files that are opened within the project. So files that are loaded in memory?

Example: filezilla.xml

        </LastServer>
    </Settings>
</FileZillZY_ ?

Example: Richmond2015.sublime-workspace

    "side_bar_width": 514.0,
    "status_bar_visible": true,
    "template_settings":
    {?c??A

Attempts to fix:

  • changing between unix and windows line endings
  • "ensure_newline_at_eof_on_save": true
  • saving with different file encodings, some were defaulting to Western, changed to UTF-8

stumpzy

Posted 2015-07-06T15:12:37.053

Reputation: 31

Hi! Welcome to SU! Does this happen with other editors? – rahuldottech – 2015-07-06T15:19:05.117

Thanks! I started writing this comment saying that I hadn't opened filezilla.xml prior to FileZilla giving me the malformed error, but I may have opened it to have it not check for updates on startup. As for your question, I have not tried other editors. – stumpzy – 2015-07-06T15:27:13.470

A day or so after my last comment, Adobe CC stopped syncing. Logs pointed to ~/AppData/Roaming/Adobe/CoreSync/ACSLEng.cfg. Opened that config for the first time and sure enough, garbled text at EOF. – stumpzy – 2015-07-17T13:57:38.033

Answers

1

Figured it out.

Yes, the problem is related to the encryption. Why is it doing what it is doing? Well, I can't answer that. But what I can do is — avoid it.

To avoid the problem, evade the encryption. I moved all of the folders of files that I didn't want altered into a directory that the encryption policy deemed exempt and created symlinks in their place.

stumpzy

Posted 2015-07-06T15:12:37.053

Reputation: 31