[packagekit] DownloadPackages and uid

Tim Lauridsen tim.lauridsen at googlemail.com
Mon Aug 18 09:50:33 PDT 2008


Richard Hughes wrote:
> On Mon, 2008-08-18 at 12:40 +0100, Richard Hughes wrote:
>> This way the server downloads to /var/cache/PackageKit, and then the
>> client copies out of this directory so that the ownership and SELinux
>> contexts are preserved, and we don't need to be so security paranoid
>> with the directory permissions checks.
> 
> Something like the attached:
> 
>  backends/dummy/pk-backend-dummy.c  |   20 ++++++++++++-
>  backends/yum/helpers/yumBackend.py |    6 ++++
>  libpackagekit/pk-client.c          |   39 ++++++++++++++++++++++++--
>  src/Makefile.am                    |    3 ++
>  src/pk-backend.c                   |    3 +-
>  src/pk-engine.c                    |   55 +++++++++++++++++++++++++++++++++++++
>  src/pk-interface-transaction.xml   |    9 ------
>  src/pk-transaction.c               |   50 +++++++++++----------------------
>  src/pk-transaction.h               |    1 
>  9 files changed, 139 insertions(+), 47 deletions(-)
> 
> I guess I'll merge this after the release -- it seems a bit 11th hour to
> do it now. Reviews appreciated.
> 
> Richard.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> PackageKit mailing list
> PackageKit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/packagekit

Looks sane to me

Tim



More information about the PackageKit mailing list