[packagekit] DownloadPackages and uid

Sebastian Heinlein glatzor at ubuntu.com
Tue Aug 19 00:01:07 PDT 2008


Am Montag, den 18.08.2008, 15:58 +0100 schrieb Richard Hughes:
> 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:

All backends already have got a cache. Why not make use of them? For apt
the files get at first downloaded to the cache apt
"/var/cache/apt/archive".

I would prefer emitting a file path for each downloaded package. The
client would copy the files from the given path to the user specified
one.

Cheers,

Sebastian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20080819/26da91ac/attachment-0004.pgp>


More information about the PackageKit mailing list