Re: Download Alert -- Quarantine information removal
Re: Download Alert -- Quarantine information removal
- Subject: Re: Download Alert -- Quarantine information removal
- From: John Joyce <email@hidden>
- Date: Wed, 2 Dec 2009 00:04:41 -0600
On Dec 1, 2009, at 11:03 PM, email@hidden wrote:
> 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
Please do not do this.
Please read the documentation on why this is there and what is expected behavior.
Code Signing does not prevent this.
Even Apple software that is downloaded internally triggers the quarantine message to users on first launch of that software.
This is intended to be there.
If you are developing software for an enterprise ( I use the word loosely) deployment, you'd do better to examine other ways to deploy software. In such cases, you should consider building an image consisting of preconfigured system software and apps on OS X Server and deploying that to client systems.
_______________________________________________
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