Re: non-root app writing to root file
Re: non-root app writing to root file
- Subject: Re: non-root app writing to root file
- From: Finlay Dobbie <email@hidden>
- Date: Sun, 25 Jul 2004 12:03:14 +0100
On 25 Jul 2004, at 07:06, Matt Jaffa wrote:
Well my SystemPreference is using sqlite to write to a database file
stored in root owned folders, and editing a root owned sqlite db file,
so I don't know how calling a tool with the authorization will be able
to get that sqlite file to the tool to save it.
It calls a setuid tool which then has an euid of 0, then talks to it
via some form of IPC and tells it what changes need to be made (and
that the user is authorized to make), then the tool carries out the
changes as root. It'd have to be the tool that manipulates the sqlite
file.
-- Finlay
_______________________________________________
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.