Hi,
After we installed the visualization software (such as VESTA, PyMOL), if we visualize phase using PDFgui in Mac OS X, it will give us an error ([Errno 13] Permission denied). The solution (by Dr. Juhas) is in the following:
To start a Mac application from a Terminal use:
open -a /Applications/VESTA/VESTA.app somefile.cif
To do the same from PDFgui go to the Preferences menu and set:
viewer executable: /usr/bin/open
Argument string: -a /Applications/VESTA/VESTA.app %s
Structure format: whatever VESTA needs
The reason is that on Mac OS X the /Applications/Something.app is a directory containing the program executable, dynamic-link libraries, and other data - images, media, documentation, etc., used by the application. As a directory Something.app is not directly executable.
Bests,
Long