I'm experiencing some trouble using pattrstorage in standalones.
Basically, what I want to do is read and write some parameters in a XML file (or JSON, same thing) from a standalone application.
While in the patch version everything works fine, in the standalone it is able to read the file and load the parameters, but when I try to overwrite the XML file the follow error occurs:
pattrstorage: error -1 in sysfile write: tried to write 174, wrote 174
Please note that the permissions of the XML file (as well as the application and the parent folder) are set to "read and write" for all users.
I tried in different machines and repaired the disk permissions. The problem is always the same.
OSX 10.5.8 + Max 5.1.3
I made a simple test patch that explains clearly the issue (see below).
Just export it as a standalone and copy the XML file inside it in order to reproduce the same problem.
Any help is more than welcome.