from this web page <http://www.bresink.com/osx/143439/issues.html>,
i cam across this entry which describes both the NFS and AFS behavior 
documented in this thread.
with explanation. (of course the other workaround is to relax security as peter 
has written.)

"After you copy downloaded files onto an NFS server, OS X 10.8 Mountain Lion 
may reject an attempt to open such files at a later time for certain file 
types: If you download a file with OS X 10.8 and then store the file by a 
subsequent copy operation to a location on an NFS file server, you may not be 
capable of opening the file later. Instead, OS X displays the erroneous error 
message “<file name> is damaged and can't be opened. You should move it to the 
Trash.”

Workaround: Apple is aware of this problem. It affects all file server 
protocols that emulate extended attributes. Direct write operations (e.g. 
saving a downloaded file into a folder Downloads on an NFS server) are not 
affected, but only subsequent copy operations (e.g. from the Downloads folder 
to a different folder). There are two possible workarounds: (1) Copy the file 
to the local hard drive of the computer before opening it. (2) Delete the 
attribute marking the file as being a download, by entering the command xattr 
-d com.apple.quarantine <path> where <path> must be replaced by the path of the 
affected file. If the file is actually a bundle (e.g. an application), use 
xattr -d -r com.apple.quarantine <path>."


On Jan 20, 2014, at 3:52 PM, Derrick Brashear <[email protected]> wrote:

> The issue appears to be that the security database used for tracking 
> quarantine files does not know how to track files in AFS, for reasons I have 
> not yet figured out. There are cryptic errors which show up in the system 
> message log which hint in this direction.
> 
> 
> On Mon, Jan 20, 2014 at 3:41 PM, Duncan S Kincaid <[email protected]> wrote:
> Indeed, this is the ‘fix' we had found for our environment where Macintosh 
> users’ home directories are on AFS.
> Interestingly, I have heard reports of this same problem (and solution) with 
> users' home directories on *NFS* .
> 
> best regards
> dk
> 
> 
> Duncan Kincaid
> |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> cron | mit school of architecture and planning
> 
> On Jan 10, 2014, at 3:50 AM, Peter Dissing <[email protected]> wrote:
> 
> >
> > Hi Jan
> >
> > You can "fix" it here and now by allowing applications from anywhere... (it 
> > doesn´t make sense to me)
> >
> > "System-Preferences" -> "Security & Privacy"  on the general tab bottom 
> > section.
> > "Set Allow applications downloaded from:"  change it to "anywhere" and it 
> > works...
> >
> > Note that this will change the security level on the machine
> >
> > Best
> > Peter Dissing
> > Aalborg University
> >
> >
> >
> >
> > -----Original Message-----
> > From: [email protected] 
> > [mailto:[email protected]] On Behalf Of Jan Pospíšil
> > Sent: 9. januar 2014 19:15
> > To: [email protected]
> > Subject: [OpenAFS] Error opening files on AFS in MacOSX
> >
> > Hi all,
> >
> > I am running OpenAFS 1.6.5 client on MacOSX 10.9.1 (Mavericks).
> > Sometimes (very hard to tell under which circumstances), when I am trying 
> > to open (ususally PDF) files on AFS with Preview.app or "Adobe Acrobat 
> > Pro.app" I get the following error:
> >
> > "file.pdf" is damaged and can't be opened. You should move it to the Trash.
> >
> > Preview.app fails to open also other non-pdf files, e.g. images.
> > However, if I copy the file to the local file system, it opens without 
> > problems.
> >
> > Does someone know if it is a MacOSX issue or if there is a problem with the 
> > OpenAFS client? If I knew how, I could provide more information.
> >
> > Thank you for your help in advance.
> > Regards
> > Jan
> >
> > --
> > Jan Pospisil, Ph.D.           e-mail: [email protected]
> > University of West Bohemia    phone:  (+420) 37763-2675
> > Department of Mathematics     fax:    (+420) 37763-2602
> > Plzen, Czech Republic         address: Univerzitni 22, 306 14
> > _______________________________________________
> > OpenAFS-info mailing list
> > [email protected]
> > https://lists.openafs.org/mailman/listinfo/openafs-info
> > _______________________________________________
> > OpenAFS-info mailing list
> > [email protected]
> > https://lists.openafs.org/mailman/listinfo/openafs-info
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Derrick

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to