App doesnt run after removing FinderInfo

macfan2376

Registered
Hello,

Am sorry if I have posted this question into the wrong category.

Am a MacOS newbie. I have a MacOS X running Darwin OS on Intel Arch. I have an application (Goliath WebDAV to be precise). The Application has some extended attributes -

$ ls -l
-rwxr-xr-x@ 1 root admin 2183761 Oct 22 10:53 Goliath 1.0.1

$ xattr "Goliath 1.0.1"
com.apple.FinderInfo
com.apple.ResourceFork

The application with the above attributes seem to be working fine. But there is another application that at some point seems to be removing these extended attributes from the file. The size of the file or checksum doesn't change. But after the attribute is removed, the file doesn't execute. It says -

$ ./Goliath\ 1.0.1
sh: ./Goliath 1.0.1: cannot execute binary file

I don't understand the significance of these headers. The file size, checksum is the same after removal. The OS even recognizes it as a executable. But it doesn't execute/run. The error code of the above command (output of echo $? = 126).

Can you please tell me if those headers are part of the logic or is there a way to restore them back ?

Thank you.
 
Back
Top