[Sparkle] Sparkle 2: Permissions

Josef W. Wankerl lovedeity at gmail.com
Fri Oct 5 19:20:06 PDT 2007


...from the Sparkle 2 issues:

>Sparkle 2: Permissions
>Sparkle wants to keep its central database in /Library, but we have
to authenticate to
>write there. That sucks. The user's already thinking, "uh, alright...
I'll install this Sparkle
>thing. I guess. Kinda sketchy..." We don't want to then immediately
ask them for their
>password, right?

Everyone on the system always has access to the /Users/Shared folder.
Garage Band and iTunes already use it to store info available to all
users on the system.  Sparkle should be able to use this area too for
its app database.  That way if you are a regular user and launch an
app that wants a Sparkle update and the app hasn't ever been
registered before, the database can be updated without any user
authentication.

However, when performing an update (or when installing Sparkle itself
for the first time), authentication would still come in to play, as
you wouldn't be able (as a regular user) to write to /Applications or
any other limited area.


More information about the Sparkle mailing list