Where to put writable files available to all users
Where to put writable files available to all users
- Subject: Where to put writable files available to all users
- From: Angela Brett <email@hidden>
- Date: Sat, 14 Jun 2003 22:08:53 +1200
Hi,
I'm writing an app which is for viewing the acronyms from my site
offline, and I'm wondering where to put the acronym data files. They
are pretty much essential, since there's not a lot of point having an
acronym viewer with no acronyms, so they'd have to be available to be
read by all users.
The usual answer to this would be to put them in the application's
bundle, but I'd like people to be able to click a button to update
the data with the newest acronyms from the site, without having to
download a whole new version of the program. People can also add
their own acronyms. So the acronym data directory has to be writable,
and that can't be guaranteed of the application bundle.
At the moment I'm using /Library/Application Support/Acronyms but
according to SystemOverview.pdf (and of course the actual
permissions) this is only writable for admin users. I guess I could
make it so people have to enter an admin username/password to update
acronyms from the site, and store their own additions in
~/Library/Application Support/Acronyms, but that seems like quite a
hassle. Still, it's probably a bad idea security-wise for there to
even be a world-writable directory like I'm looking for, so maybe
that is the best solution. Maybe I'm thinking about this in the wrong
way.
Any suggestions?
--
Angela Brett
email@hidden
http://cocoa.co.nz
http://acronyms.co.nz/angela
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.