Download Alert -- Quarantine information removal
Download Alert -- Quarantine information removal
- Subject: Download Alert -- Quarantine information removal
- From: Sravana Kumar <email@hidden>
- Date: Tue, 1 Dec 2009 21:25:36 +0530
Hi all,
If I download a DMG from web and launch an (XYZ) application from it, then
system will show an alert saying “ XYZ is an application which was
downloaded from the Internet. Are you sure you want to open it?” PFA sample
screen shot for this.
Help is saying that if you downloaded from un-trusted source then this error
will come. I tried codesign-ing and downloading from ‘*https://*’ server but
still getting this alert.
When did some analysis I found that file system keeps Quarantine information
in the extended attributes along with the files and shows this alert.
xattr -d com.apple.quarantine <filepath> will remove this.
But I am writing an installer and I am coping files from the downloaded dmg
to the system and system is keeping this info for all the files I copy.
Eventually I am getting this alert. I tried different methods to copy files
but no success.
I believe apple should provide some method through which I can copy files
without copying Quarantine information.
The option left for me is to execute the above command for all the files to
be copied. But it leads to performance degradation.
Any suggestions please?
Thanks,
Regards,
-Sra1
Attachment:
InstallAlert.png
Description: PNG image
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden