Phenix: Difference between revisions

Jump to navigation Jump to search
1,538 bytes added ,  24 January 2015
Line 11: Line 11:




== Installation problem on NFS for Mac OSX (posting of 23 Jan 2015) ==
The problem:
In an effort to save us from malware, OS X now adds a 'quarantine' attribute to downloaded files.  This includes tar and compressed tar files.  For most users the quarantine flag only really comes into play if the downloaded file is an application or installer package.
When Yosemite untars an archive with the quarantine attribute, it adds the quarantine attribute to every file it extracts from the archive.
This doesn't present a problem if you're extracting the archive to a local disk, or an AFP-mounted network volume.  If you're extracting the archive to an NFS-mounted network volume, it can't store the quarantine flag as a resource fork on the file itself.  Instead, it creates a ._<filename> file for each extracted file.
The Phenix installer doesn't like having an install tree full of unexpected ._ files.  In some cases, such as where generate_henke_cpp.py tries to generate tables from all the files in a directory, it tries to read ._ files as normal files and dies.
The solution:
The solution is trivial once you know what the problem is.  Remove the quarantine attribute from the tar file before extracting its contents.  For example:
  xattr -d com.apple.quarantine phenix-installer-1.9-1692-mac-intel-osx-x86_64.tar.gz
Of course, if the Phenix installer could be modified so that it doesn?t die when it finds unexpected ._ files, that would be lovely.
Chris
--
Dr Chris Richardson :: Sysadmin, structural biology, icr.ac.uk


== Crystallographic data ==
== Crystallographic data ==
1,330

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu