Possible Bug with apple quarantine

7 views
Skip to first unread message

Jeremy Knope

unread,
Jun 18, 2008, 5:13:24 PM6/18/08
to Growl Discuss
I'm unsure if this is definitely a bug in growl, or if it would be up
to the applications. Basically I and maybe a few others have noticed
a quarantine warning coming up for Firefox 3's growlRegDict file
that's being created in the temp directory.

Looks like this
http://skitch.com/jerome/p69a/firefox-growl-annoyance

I just verified if it was Growl that creates this file, looks like
within
+ (BOOL) _launchGrowlIfInstalledWithRegistrationDictionary:
(NSDictionary *)regDict

so anyway, the deal is Firefox is labeled as being in quarantine, so
that any file it downloads gets that warning on opening, even though
firefox itself is not writing this file, but it's being written by
Growl.framework within Firefox.

Is there a proper way to manage this problem, or should growl make
sure it's files don't go into quarantine. I was talking to one of the
Firefox developers that worked on the growl support in hopes to find a
solution.

Thanks all!

Peter Hosey

unread,
Jun 18, 2008, 5:30:32 PM6/18/08
to growld...@googlegroups.com
On Jun 18, 2008, at 14:13:24, Jeremy Knope wrote:
> Basically I and maybe a few others have noticed a quarantine warning
> coming up for Firefox 3's growlRegDict file that's being created in
> the temp directory.
>
> Looks like this
> http://skitch.com/jerome/p69a/firefox-growl-annoyance
>
> I just verified if it was Growl that creates this file, looks like
> within
> + (BOOL) _launchGrowlIfInstalledWithRegistrationDictionary:
> (NSDictionary *)regDict

More precisely, it's the Growl *framework* that creates the file.

> so anyway, the deal is Firefox is labeled as being in quarantine, so
> that any file it downloads gets that warning on opening, even though
> firefox itself is not writing this file, but it's being written by
> Growl.framework within Firefox.

Which, as far as the OS is concerned, is Firefox writing the file.

Here's what I find weird, though: The Growl framework does not
*download* the dictionary. It simply writes out from what it gets from
the application's Growl delegate (or from the .growlRegDict file
inside the application, if there were one).

Were you running Firefox from the disk image?

> Is there a proper way to manage this problem, or should growl make
> sure it's files don't go into quarantine.

There's nothing Growl (i.e., GrowlHelperApp) can do about it, because
Launch Services has not passed the file to it yet.

The Growl framework could, theoretically, strip the quarantine
information from the file before opening it, but I don't know whether
that would actually work (it would make sense for File Manager to lie
to us in that case—“yeah, I stripped it for you *fingers crossed
behind back*”), and it's definitely improper, anyway.

Jeremy Knope

unread,
Jun 18, 2008, 5:48:30 PM6/18/08
to Growl Discuss
On Jun 18, 5:30 pm, Peter Hosey <p...@growl.info> wrote:
> On Jun 18, 2008, at 14:13:24, Jeremy Knope wrote:
>
> > Basically I and maybe a few others have noticed a quarantine warning  
> > coming up for Firefox 3's growlRegDict file that's being created in  
> > the temp directory.
>
> > Looks like this
> >http://skitch.com/jerome/p69a/firefox-growl-annoyance
>
> > I just verified if it was Growl that creates this file, looks like  
> > within
> > + (BOOL) _launchGrowlIfInstalledWithRegistrationDictionary:
> > (NSDictionary *)regDict
>
> More precisely, it's the Growl *framework* that creates the file.
>
> > so anyway, the deal is Firefox is labeled as being in quarantine, so  
> > that any file it downloads gets that warning on opening, even though  
> > firefox itself is not writing this file, but it's being written by  
> > Growl.framework within Firefox.
>
> Which, as far as the OS is concerned, is Firefox writing the file.
>
> Here's what I find weird, though: The Growl framework does not  
> *download* the dictionary. It simply writes out from what it gets from  
> the application's Growl delegate (or from the .growlRegDict file  
> inside the application, if there were one).
>
> Were you running Firefox from the disk image?

Nope, I'm running it from my /Applications folder.


>
> > Is there a proper way to manage this problem, or should growl make  
> > sure it's files don't go into quarantine.
>
> There's nothing Growl (i.e., GrowlHelperApp) can do about it, because  
> Launch Services has not passed the file to it yet.
>
> The Growl framework could, theoretically, strip the quarantine  
> information from the file before opening it, but I don't know whether  
> that would actually work (it would make sense for File Manager to lie  
> to us in that case—“yeah, I stripped it for you *fingers crossed  
> behind back*”), and it's definitely improper, anyway.

Yeah, I was wondering if that was doable, but if it was even proper.

On a strange note, this is inconsistent from machine to machine. My
roommate also has Leopard, Growl 1.1.3 (well I have 1.1.4), and
Firefox 3 installed. He does not get this warning at all. I assume
this file is created every time on a launch when an application is
using Growl? So I'm uncertain why it's inconsistent in behavior.

Although, here's a possible difference between these 2 machines I've
found. My machine has .growlRegDict associated with Property List
Editor, my roommate's computer has no application associated with that
file type.

Jeremy Knope

unread,
Jun 18, 2008, 6:18:18 PM6/18/08
to Growl Discuss
Ok another bit of information, further expanding the difference
between the 2 machines. It appears the quarantine effect doesn't
cause problems unless the .growlRegDict file type is associated with
an application, in my case Property List Editor. Once this
association is gone, I no longer get this quarantine warning on my
screen.

Peter Hosey

unread,
Jun 18, 2008, 6:33:58 PM6/18/08
to growld...@googlegroups.com
On Jun 18, 2008, at 15:18:18, Jeremy Knope wrote:
> It appears the quarantine effect doesn't cause problems unless
> the .growlRegDict file type is associated with an application, in my
> case Property List Editor.

You're right. Wow.

I shall file a bug.

Jeremy Knope

unread,
Jun 18, 2008, 8:26:13 PM6/18/08
to Growl Discuss
That a bug with apple?

Peter Hosey

unread,
Jun 18, 2008, 8:27:19 PM6/18/08
to growld...@googlegroups.com

Yup.

I haven't filed it yet, BTW. I shall post another email when I have. ☺

Shane Pekrul

unread,
Jun 19, 2008, 8:22:36 AM6/19/08
to growld...@googlegroups.com
Hi guys,

I thought you might want to know that my problem is with an iMac G5
(w/iSight) and using Tiger 10.4.11.

Peter Hosey

unread,
Jun 19, 2008, 1:21:22 PM6/19/08
to growld...@googlegroups.com
On Jun 19, 2008, at 05:22:36, Shane Pekrul wrote:
> I thought you might want to know that my problem is with an iMac G5
> (w/iSight) and using Tiger 10.4.11.

You might want to start a new thread and actually say what your
problem is.

Peter Hosey

unread,
Jun 20, 2008, 5:46:13 PM6/20/08
to growld...@googlegroups.com
On Jun 18, 2008, at 15:18:18, Jeremy Knope wrote:
> It appears the quarantine effect doesn't cause problems unless
> the .growlRegDict file type is associated with an application, in my
> case Property List Editor.

Filed: x-radar://problem/6025243

Lorin

unread,
Jun 21, 2008, 12:19:31 AM6/21/08
to Growl Discuss
Hey Guys,

I have this same problem and it's been driving me crazy. I am starting
to gather a nice collection of these files at "/private/var/folders/
8h." When you say being associated with an application are you talking
about what program is listed to open these files? If that is what you
are talking about then in my case that would be TextEdit. Is there a
way to disassociate any application from these files or to associate
the correct application (if there is one to point it at). I stopped
Growl and Growl is still writing this file that Firefox seems to
believe I downloaded. With a little help from Activity Monitor I got
to the point you guys were discussing minus this file association
part. You guy also believe this is a bug on Apples side? Sorry if my
thoughts are all over the place but I have been having trouble finding
a post anywhere with this same problem so it's nice to hear that
someone has an idea of what it is. I have a G5 tower running OS X
10.5.3 if that info is relevant. I see you are running Tiger so I am
guessing this problem didn't come from my last OS X update (though
that's about when it started).

Peter Hosey

unread,
Jun 21, 2008, 12:24:04 AM6/21/08
to growld...@googlegroups.com
On Jun 20, 2008, at 21:19:31, Lorin wrote:
> Is there a way to disassociate any application from these files or
> to associate the correct application (if there is one to point it at).

Yes. Download the Growl Registration Dictionary Editor, use Finder's
Get Info panel to associate a .growlRegDict file with that, then click
“Change All”.

http://growl.info/files/GrowlRegDictEditor-1.0b1.zip

You may want to keep GRDE around for future .growlRegDict editing. It
beats the hell out of TextEdit. ☺

> I stopped Growl and Growl is still writing this file …

The Growl framework writes the file, not the Growl background process.
(Firefox, I believe, incorporates the actual Obj-C class,
GrowlApplicationBridge, rather than bundling the framework.)

> … that Firefox seems to believe I downloaded.

Mac OS X believes that, not Firefox.

> You guy also believe this is a bug on Apples side?

It is one, and I reported it as such.

Lorin

unread,
Jun 22, 2008, 3:09:22 PM6/22/08
to Growl Discuss
> Yes. Download the Growl Registration Dictionary Editor, use Finder's  
> Get Info panel to associate a .growlRegDict file with that, then click  
> “Change All”.
>
>        http://growl.info/files/GrowlRegDictEditor-1.0b1.zip

Thanks Peter, worked like a charm.
Reply all
Reply to author
Forward
0 new messages