Bug 49492 - Uses ~/.PackageKit
Uses ~/.PackageKit
Status: RESOLVED FIXED
Product: PackageKit
Classification: Unclassified
Component: General
unspecified
Other All
: medium normal
Assigned To: Richard Hughes
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-04 07:06 UTC by william.jon.mccann
Modified: 2012-05-15 06:35 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description william.jon.mccann 2012-05-04 07:06:04 UTC
The code has:
	path = g_build_filename (g_get_home_dir (), ".PackageKit", subfolder, NULL);

It would be better to use a directory from the XDG Basedir spec. Please see https://live.gnome.org/GnomeGoals/XDGConfigFolders
Comment 1 Richard Hughes 2012-05-15 06:35:16 UTC
commit 2b2aa450739b5271311ad5b006319f61b88ac55a
Author: Richard Hughes <richard@hughsie.com>
Date:   Tue May 15 14:33:39 2012 +0100

    glib: Use the correct user-cache directory
    
    Do not create and use ~/.PackageKit when copying files out of GVFS shares.
    
    Resolves https://bugs.freedesktop.org/show_bug.cgi?id=49492